:root {
    --red-color: hsla(4, 90%, 47%, 1);
    --blue-color: #6765F2;
    --gray-color: #999999;
    --green-color: #0AAF60;
    --bg-color: hsla(240, 100%, 98%, 1);
    --light-color: hsla(240, 100%, 97%, 1);
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.card-calculator {
    font-family: 'Montserrat', serif;
    max-width: 1160px;
    margin: auto;
    padding: 2em 0 0 0;
    font-size: 13px;
}

.c-calc {
    width: 100%;
    position: relative;
}

.c-calc__header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.c-calc__table-thead .c-calc__table-td:nth-child(n+2) {
    background: var(--light-color);
    user-select: none;
}

.c-calc__table-result .c-calc__table-td:nth-child(n+2) {
    background: var(--blue-color);
    display: flex;
    align-items: center;
    padding: 0 2em;
    height: 70px;
}

.c-calc__table-thead .c-calc__table-td:nth-child(2), .c-calc__table-result .c-calc__table-td:nth-child(2) {
    border-radius: 6px 0 0 6px;
}

.c-calc__table-thead .c-calc__table-td:last-child, .c-calc__table-result .c-calc__table-td:last-child {
    border-radius: 0 6px 6px 0;
}

.c-calc__tab {
    display: flex;
    height: 100%;
    align-items: center;
    user-select: none;
}

.c-calc__tab-item {
    width: 50%;
    color: var(--gray-color);
    font-weight: 500;
    line-height: 1.25em;
    letter-spacing: 0;
    border-radius: 0.75em;
    height: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    padding: 1.563em;
    cursor: pointer;
    transition: .3s;
}

.c-calc__tab-item.active {
    background: var(--blue-color);
    color: #FFFFFF;
}

.c-calc__wrap {
    background: #FFFFFF;
    border-radius: 3.125em;
    padding: 2em;
}

.c-calc__container {
    display: flex;
    flex-wrap: wrap;
}

.c-calc__container::-webkit-scrollbar {
    width: 6px;
}

.c-calc__container::-webkit-scrollbar-track {
    background: #F2F5F9;
}

.c-calc__container::-webkit-scrollbar-thumb {
    background-color: #4C79BF;
    border-radius: 4px;
    border: 0;
}

.c-calc__content {
    width: 100%;
}

.c-calc__header-title {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.938em;
    letter-spacing: 0;
    text-align: left;
}

.c-calc__header-text {
    font-weight: 600;
    line-height: 1.25em;
    letter-spacing: 0.125em;
    color: var(--red-color);
}

.c-calc__header-tooltip {
    position: relative;
    font-weight: 600;
    line-height: 1.25em;
    text-transform: uppercase;
    letter-spacing: 0.125em;
    color: var(--blue-color);
    font-size: 1.077em;
}

.c-calc__tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    background: #323232;
    color: #FFFFFF;
    font-weight: 400;
    letter-spacing: 0;
    z-index: 99;
    padding: 1.5em;
    border-radius: 6px;
    width: 320px;
    color: hsla(0, 0%, 100%, 1);
    font-family: Inter, sans-serif;
    font-size: 13px;
    line-height: 16px;
    text-align: left;
    display: none;
    text-transform: math-auto;
}

.c-calc__header-tooltip:hover .c-calc__tooltip {
    display: block;
}

.c-calc__table-tfoot h5.c-calc__table-title {
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.c-calc__table-tfoot h5.c-calc__table-title span {
    color: hsla(359, 100%, 56%, 1);
    font-weight: 600;
    display: inline-block;
    transform: scale(1.25);
}

.c-calc__tooltip ul {
    padding: 0.5em 1em;
}

[data-role="present"] h5.c-calc__table-title {
    font-size: 1.538em;
}

.c-calc__header-tooltip span {
    transform: scale(1.5);
    display: inline-block;
}

.c-calc__table {
    padding: 1em 0;
}

.c-calc__table-thead {
    background: var(--bg-color);
    border-radius: 0.375em;
}

.c-calc__table-tr {
    display: flex;
    width: 100%;
    position: relative;
}

.c-calc__table-tr.hide-bonus {
    padding-bottom: 6px;
}

.c-calc__table-td {
    width: 16%;
    flex-basis: 16%;
}

.c-calc__table-td:first-child {
    width: 36%;
    flex-basis: 36%;
    text-align: left;
}

.c-calc__table__tab {
    position: absolute;
    bottom: 80px;
    left: 36%;
    padding: 1em 3em;
    background: var(--light-color);
    border-radius: 6px 6px 0 0;
    font-size: 0.688em;
    font-weight: 600;
    line-height: 1.125em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-color);
    user-select: none;
}

.c-calc__table__tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    background: hsla(0, 0%, 0%, 0.05);
    height: 1px;
}

[data-title="RED"], [data-title="SILVER"], [data-title="GOLD"], [data-title="BLACK"] {
    position: relative;
    padding: 0.938em 1.125em .938em 2em;
    text-align: left;
}

[data-title="RED"]::before, [data-title="SILVER"]::before, [data-title="GOLD"]::before, [data-title="BLACK"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2em;
    width: 20px;
    height: 2px;
}

[data-title="RED"]::before {
    background: hsla(4, 90%, 58%, 1);
}

[data-title="SILVER"]::before {
    background: hsla(0, 0%, 72%, 1);
}

[data-title="GOLD"]::before {
    background: hsla(42, 100%, 68%, 1);
}

[data-title="BLACK"]::before {
    background: hsla(0, 0%, 0%, 1);
}

h5.c-calc__table-title {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.625em;
    letter-spacing: 0.01em;
}

[data-role="clear"] {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 2em;
    cursor: pointer;
}

[data-role="clear"]::before {
    content: '';
    width: 0.938em;
    background: hsla(0, 0%, 60%, 1);
    height: 0.078em;
}

h4.c-calc__table-title {
    margin: 0;
    color: hsla(0, 0%, 0%, 1);
    font-weight: 600;
    line-height: 0.938em;
    letter-spacing: 0.125em;
    user-select: none;
}

.c-calc__table-price {
    margin: 0;
    padding: 0;
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1.313em;
    letter-spacing: 0.031em;
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
}

.c-calc__table-tds .c-calc__table-price.not {
    display: inline-block;
    background: var(--red-color);
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 0.563em;
    font-size: 1em;
    font-weight: 600;
    line-height: 1em;
    letter-spacing: 0.031em;
    text-transform: uppercase;
    transform: translateY(15px);
}

.c-calc__table-price::after {
    content: '₽';
    display: inline-block;
    padding-left: 5px;
}

.c-calc__table-range {
    left: 10px;
    position: relative;
    width: calc(100% - 20px);
    height: 10px;
    transform: translateY(-1px);
    cursor: pointer;
}

span.d-range {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 40px;
    height: 40px;
    top: -20px;
    left: -20px;
    cursor: pointer;
    z-index: 9;
}

span.d-range::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 1px solid var(--blue-color);
    border-radius: 50%;
    background: #FFFFFF;
    z-index: 5;
}

span.d-progress {
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--blue-color);
    transition: .3s;
}

span.d-range::after {
    position: absolute;
    content: '';
    width: 40px;
    height: 40px;
    background: rgba(103, 101, 242, .05);
    border-radius: 50%;
    transform: scale(0);
    transition: .3s;
}

span.d-range:hover:after {
    transform: scale(1);
}

span.d-range:active:after {
    transform: scale(.8);
    background: rgba(103, 101, 242, .15);
}

.c-calc__table-body .c-calc__table-td {
    align-self: flex-end;
    padding-right: 1.25em;
}

.c-calc__table-body .c-calc__table-td:nth-child(n+2), .c-calc__table-tfoot .c-calc__table-td:nth-child(n+2) {
    background: var(--light-color);
    padding: 1.125em 1.125em 1.125em 2em;
    height: 70px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    user-select: none;
    margin-bottom: 10px;
}

.c-calc__table-tfoot .c-calc__table-td {
    align-self: center;
}

.c-calc__table-tfoot .c-calc__table-td:last-child {
    border-radius: 0 6px 6px 0;
}

.c-calc__table-tfoot .c-calc__table-td:nth-child(2) {
    border-radius: 6px 0 0 6px;
}

.c-calc__table-body .c-calc__table-td:nth-child(2) {
    border-bottom-left-radius: 6px;
    padding-left: 2em;
}

.c-calc__table-body .c-calc__table-td:nth-child(5) {
    border-radius: 0 6px 6px 0;
}

.c-calc__content-title {
    display: none;
}

span.c-calc__table-gray {
    display: inline-flex;
    gap: 0.35em;
    color: var(--gray-color);
    font-weight: 500;
    line-height: 1.125em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.688em;
    width: 100%;
    flex-wrap: wrap;
}

span.c-calc__table-gray-tab {
    display: none;
}

span.c-calc__table-success {
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1.563em;
    letter-spacing: 0;
    display: block;
    color: var(--green-color);
}

.c-calc__table-price.not::before {
    display: none;
}

span.c-calc__table-danger {
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1.563em;
    letter-spacing: 0;
    text-align: right;
    display: block;
    color: var(--red-color);
}

.c-calc__table-body {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    padding: 1em 0;
}

p.c-calc__table-text {
    margin: 0;
    padding-bottom: 0.875em;
    padding-right: 1.25em;
    font-size: 1.063em;
    font-weight: 500;
    line-height: 1.313em;
    letter-spacing: 0;
    color: hsla(0, 0%, 25%, 1);
}

p.c-calc__table-text span {
    font-weight: 500;
    color: var(--blue-color);
}

div[data-input="extend"], div[data-input="price"] {
    width: 100%;
    background: #FFFFFF;
    border-radius: 0.5em;
    padding: 0.989em 1.438em;
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.5em;
    letter-spacing: 0.0025em;
    border: 1px solid hsla(0, 0%, 0%, 0.1);
}

div[data-input="extend"]:focus, div[data-input="price"]:focus {
    outline: none;
}

div[data-input="extend"]:after {
    content: 'шт';
    display: inline-block;
    padding-left: 5px;
}

div[data-input="price"]:after {
    content: '₽';
    display: inline-block;
    padding-left: 5px;
}

.c-calc__table-price.no-price::after {
    content: '';
    width: 1.25em;
    height: 1px;
    background: #000000;
    transform: translateY(-4px);
}

.c-calc__table-tfoot {
    padding: 32px 0 24px 0;
}

h5.c-calc__table-title sup {
    color: var(--red-color);
}

.c-calc__table-result {
    background: #8A88FF;
    border-radius: 0.75em;
    margin-top: 0.875em;
    color: #FFFFFF;
    margin-left: -1.25em;
    margin-right: -1.25em;
    height: 70px;
    width: calc(100% + 2.5em);
}

h3.c-calc__table-title {
    margin: 0;
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.625em;
    letter-spacing: 0.01em;
}

.c-calc__table-result h5.c-calc__table-title {
    font-size: 1em;
    font-weight: 500;
    line-height: 1.125em;
}

.c-calc__table-result .c-calc__table-td {
    align-self: center;
}

.c-calc__table-result .c-calc__table-td:nth-child(1) {
    padding: 0.849em 1.5em;
    flex-basis: calc(36% + 7px);
}

.c-calc__table-result .c-calc__table-price {
    font-size: 1.188em;
    font-weight: 600;
    line-height: 1.438em;
}

.c-calc__table-result [data-role="option"] {
    position: relative;
}

.c-calc__table-result [data-role="option"]::after {
    content: '';
    position: absolute;
    left: 2em;
    bottom: 0;
    width: 20px;
    height: 2px;
    background: hsla(4, 90%, 58%, 1);
}

.c-calc__table-result [data-role="option"]:nth-child(3):after {
    background: hsla(0, 0%, 100%, 1);
}

.c-calc__table-result [data-role="option"]:nth-child(4):after {
    background: hsla(42, 100%, 68%, 1);
}

.c-calc__table-result [data-role="option"]:nth-child(5):after {
    background: hsla(0, 0%, 0%, 1);
}

.c-calc__table-link {
    display: block;
    width: 90%;
    background: var(--blue-color);
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    padding: 1.438em 0;
    border-radius: 0.5em;
    position: relative;
    left: 10%;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.625em;
    letter-spacing: 0;
    cursor: pointer;
    user-select: none;
}

.c-calc__table-footer {
    display: flex;
    flex-wrap: wrap;
    padding: 1.25em;
    gap: 19px;
}

.c-calc__table-item {
    width: 100%;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: hsla(0, 0%, 50%, 1);
}

.hidden {
    display: none !important;
}

.c-calc__table-price.not::after {
    display: none;
}

.web {
    display: block;
}

.mobile {
    display: none;
}

.c-calc__table-tds {
    display: flex;
    gap: 0;
    flex-basis: 64%;
    background: hsla(240, 100%, 97%, 1);
    border-radius: 6px;
}

.c-calc__table-tds .c-calc__table-td {
    width: 25%;
    flex-basis: 25%;
}

.cena {
    display: flex;
    align-items: center;
    min-height: 55px;
    padding-top: 1.5em;
    width: 100%;
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1.5em;
    letter-spacing: 0;
}

.cena__title {
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1.5em;
    letter-spacing: 0;
    user-select: none;
}

.c-calc__table-result .c-calc__table-tr {
    user-select: none;
    height: 70px;
}

[data-role="present"] {
    padding: 0;
    height: 52px;
    margin-bottom: 2.998em;
    transform: translateY(-6px);
}

[data-role="present"] .c-calc__table-td:last-child {
    padding-top: 32px;
}

span.cena__price {
    display: inline-block;
    color: var(--blue-color);
    font-size: 1.25em;
    font-weight: 600;
    line-height: 1.5em;
    letter-spacing: 0.031em;
}

span.cena__price.not::after {
    display: none;
}

.cena__text {
    padding: 0 12px;
}

span.cena__price.not {
    background: hsla(359, 100%, 56%, 1);
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 0.615em;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.308em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cena__sale {
    color: #999999;
    font-size: 0.813em;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: 0.031em;
}

span.cena__price::after, .cena__sale::after {
    content: '₽';
    display: inline-block;
    padding-left: 5px;
}

.cena__sale.not::after {
    display: none;
}

span.cena__text-content {
    display: inline-block;
    font-size: 0.813em;
    font-weight: 600;
    line-height: 1em;
    letter-spacing: 0.031em;
    background: #F44336;
    color: #FFFFFF;
    padding: 0.25em 0.5em;
    border-radius: 0.375em;
}

span.cena__text-content.not, span.cena__date.not {
    display: none;
}

span.cena__date {
    font-size: 0.875em;
    font-weight: 600;
    line-height: 1.063em;
    letter-spacing: 0.063em;
    color: #E31B0C;
    display: inline-block;
    padding-left: 0.5em;
}

.c-calc__table-sale {
    display: flex;
    align-items: center;
    gap: 0.875em;
    padding-top: 0.5em;
}

.c-calc__table-sale s {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.25em;
    color: #999999;
    display: inline-block;
    letter-spacing: 0.031em;
}

.c-calc__table-sale span {
    display: inline-block;
    background: var(--red-color);
    color: #FFFFFF;
    padding: 2px 5px;
    border-radius: 0.563em;
    font-size: 1em;
    font-weight: 600;
    line-height: 1em;
    letter-spacing: 0.031em;
}

[data-role="tooltip"] {
    position: relative;
    z-index: 99;
}

[data-role="tooltip"]::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    right: 0;
    background: #3F3F3F;
    color: #FFFFFF;
    text-align: left;
    padding: 14px;
    font-size: 14px;
    border-radius: 8px;
    display: none;
    min-width: 300px;
    max-width: 500px;
    line-height: 16px;
    font-weight: 400;
}

[data-role="tooltip"]:hover:before {
    display: block;
}

.tab-visible {
    display: none;
}

.c-calc__table-td.best-result {
    background: hsla(151, 88%, 44%, 1) !important;
    border-radius: 0.385em !important;
}

.c-calc__table-td i {
    position: absolute;
    top: -1em;
    background: hsla(0, 0%, 100%, 1);
    width: 2em;
    height: 2em;
    color: hsla(151, 88%, 44%, 1);
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid hsla(0, 0%, 0%, 0.1);
}

.c-calc__table-td.best-result i {
    display: inline-flex;
}

.best-result .c-calc__table-price {
    color: #FFFFFF;
}

.c-calc__table-result .c-calc__table-price.no-price::after {
    background: #FFFFFF;
}

@media (max-width: 1200px) {
    .web {
        display: none;
    }

    .c-calc__content-title {
        display: none;
    }

    .c-calc__table-result .c-calc__table-price.no-price::after {
        background: #000000;
    }

    .mobile {
        display: block;
    }

    span.c-calc__table-gray-tab {
        display: inline-block;
    }

    .c-calc__table-thead h5.c-calc__table-title {
        font-size: 18px;
        font-weight: 600;
        line-height: 22px;
        letter-spacing: 0;
        margin-bottom: 14px;
    }

    .c-calc__table-tr {
        flex-wrap: wrap;
        gap: 0;
    }

    .c-calc__table-td:first-child {
        width: 76%;
        flex-basis: 76%;
    }

    .c-calc__table-thead .c-calc__table-td {
        display: flex;
        align-items: center;
        width: 100%;
        flex-basis: 100%;
        gap: 17px;
    }

    .c-calc__table-mobile {
        width: calc(76% - 17px);
        flex-basis: calc(76% - 17px);
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

    .c-calc__table-mobile-tooltip {
        width: 205px;
    }

    .c-calc__table-body {
        padding: 2em 0;
    }

    .c-calc__table-thead div[data-role="select"] {
        width: 50%;
        flex-basis: 25%;
        text-align: center;
        padding: 0 1em 1.5em;
    }

    .c-calc__table-thead div[data-role="select"] h4.c-calc__table-title {
        width: 100%;
        text-align: center;
        cursor: pointer;
        font-size: 1em;
        font-weight: 600;
        line-height: 1.238em;
        letter-spacing: 0.05em;
        color: #656565;
    }

    .c-calc__table-thead div[data-role="select"].active h4.c-calc__table-title {
        color: #000000;
    }

    .c-calc__table-thead div[data-role="select"].active h4.c-calc__table-title {
        cursor: default;
    }

    .c-calc__table-thead div[data-role="select"] .c-calc__table-price, .c-calc__table-thead div[data-role="select"] span.c-calc__table-danger {
        display: none;
    }

    .c-calc__table-thead, .c-calc__table-body, .c-calc__table-tfoot, .c-calc__table-result, .c-calc__table-action {
        min-width: 100%;
    }

    .c-calc__table-body .c-calc__table-td:first-child {
        width: 76%;
        flex-basis: 76%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 0 16px;
    }

    .c-calc__table-body h5.c-calc__table-title {
        grid-column: 1;
        grid-row: 1;
        transform: translateY(18px);
    }

    .c-calc__table-body .c-calc__table-td:first-child p.c-calc__table-text {
        grid-column: 1;
        grid-row: 2;
        transform: translateY(18px);
    }

    .c-calc__table-body .c-calc__table-td:first-child div[data-input="extend"], div[data-input="price"] {
        grid-column: 2;
        grid-row: 2;
        align-self: flex-start;
        transform: translateY(-0.35em);
    }

    .c-calc__table-body .c-calc__table-td {
        text-align: left;
    }

    div[data-role="option"] {
        display: none;
        width: 24%;
        flex-basis: 24%;
    }

    div[data-role="option"].active {
        display: block;
    }

    .c-calc__table-result div[data-role="option"], .c-calc__table-tfoot div[data-role="option"] {
        width: 24%;
        flex-basis: 24%;
    }

    .c-calc__table-td {
        text-align: left;
    }

    .c-calc__table-footer {
        padding: 1.25em;
    }

    .c-calc__table-link {
        width: 100%;
        left: 0;
    }

    .c-calc__table {
        padding: 0;
    }

    .c-calc__table-tfoot.no-present, .c-calc__table-tr.no-present, .c-calc__table-tr.hide-bonus {
        display: none;
    }

    .c-calc__table__tab {
        display: none;
    }

    .c-calc__table-body .c-calc__table-td:nth-child(n+2), .c-calc__table-result .c-calc__table-td:nth-child(n+2), .c-calc__table-tfoot .c-calc__table-td:nth-child(n+2) {
        display: none;
    }

    .c-calc__table-body .c-calc__table-td.active:nth-child(n+2),
    .c-calc__table-result .c-calc__table-td.active:nth-child(n+2),
    .c-calc__table-tfoot .c-calc__table-td.active:nth-child(n+2) {
        display: flex;
        align-self: flex-end;
        margin-bottom: 1.3em;
    }

    .c-calc__table-result .c-calc__table-td.active:nth-child(n+2) {
        margin-bottom: 0;
        height: auto;
        align-self: stretch;
    }

    .c-calc__table-body .c-calc__table-td,
    .c-calc__table-result .c-calc__table-td,
    .c-calc__table-tfoot .c-calc__table-td:nth-child(n+2) {
        border-radius: 0.375em !important;
    }

    .c-calc__table-result .c-calc__table-td:nth-child(n+2) {
        background: hsla(240, 100%, 95%, 1);
        flex-basis: calc(23% + 17px);
    }

    .c-calc__table-result .c-calc__table-price {
        font-size: 1.7em;
        font-weight: 700;
        line-height: 2.438em;
        letter-spacing: 0;
    }

    .c-calc__table-range {
        grid-row: 3;
        grid-column: 2;
        transform: translateY(-9px);
    }

    .c-calc__header {
        display: none;
    }

    .tab-visible {
        display: block;
    }

    .c-calc__table-thead {
        background: #FFFFFF;
    }

    .c-calc__tab {
        width: 36%;
        background: #F1F1FF;
        border-radius: 0.375em;
    }

    .c-calc__tab-item {
        padding: 0.938em 0;
        border-radius: 0.375em;
        color: #000000;
    }

    .c-calc__table-mobile-title {
        font-size: 1.385em;
        font-weight: 600;
        line-height: 1.375em;
        letter-spacing: 0;
        width: calc(100% - 205px);
    }

    .c-calc__table-thead .c-calc__table-td:nth-child(n+2) {
        background: #FFFFFF;
    }

    .c-calc__table-thead .c-calc__table-td:nth-child(2), .c-calc__table-thead .c-calc__table-td:last-child {
        border-radius: 0;
    }

    .c-calc__table-thead .c-calc__table-td::before {
        content: '';
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--blue-color);
        display: none;
    }

    .c-calc__table-thead .c-calc__table-td.active::before {
        display: block;
    }

    .c-calc__table-result {
        background: hsla(240, 100%, 97%, 1);
        color: #000000;
    }

    .c-calc__table-result h3.c-calc__table-title {
        font-size: 1.25em;
        font-weight: 700;
        line-height: 1.5em;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .c-calc__table-result h5.c-calc__table-title {
        font-size: 1em;
        font-weight: 400;
        line-height: 1.25em;
        letter-spacing: 0;
        color: hsla(0, 0%, 25%, 1);
    }

    .c-calc__table-result [data-role="option"]::after {
        display: none;
    }

    .c-calc__table-result .c-calc__table-td:nth-child(1) {
        flex-basis: calc(76% - 9px);
    }

    .c-calc__table-tfoot .c-calc__table-tr:nth-child(2) {
        margin-top: 12px;
    }

    .c-calc__table-tds {
        flex-basis: 100%;
        background: #FFFFFF;
        border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
        overflow-x: auto;
        scroll-behavior: smooth;
        border-radius: 0;
        padding-top: 40px;

        &::-webkit-scrollbar {
            width: 0;
            height: 0;
        }
    }

    [data-title="RED"], [data-title="SILVER"], [data-title="GOLD"], [data-title="BLACK"] {
        padding: 0 1.125em 0.938em;
    }
}

@media (max-width: 834px) {
    .c-calc__table-result .c-calc__table-td:nth-child(n+2) {
        flex-basis: 25%;
    }
}

@media (max-width: 768px) {
    [data-id="red"] {
        margin-top: 1em;
    }

    .c-calc__table-mobile-title {
        width: 100%;
    }

    .c-calc__content-title {
        padding: 0 20px;
    }

    .c-calc__wrap {
        padding: 2em 0;
        border-radius: 0 0 3.125em 3.125em;
    }

    .c-calc__table-result .c-calc__table-tr {
        gap: 0;
        background: hsla(240, 100%, 95%, 1);
        border-radius: 0.385em;
    }

    .c-calc__table-result .c-calc__table-td:nth-child(1) {
        flex-basis: 100%;
    }

    .c-calc__table-result .c-calc__table-td:nth-child(n+2) {
        flex-basis: 100%;
    }

    .c-calc__table-result .c-calc__table-price {
        line-height: 1em;
    }

    .c-calc__table-action div[data-role="option"] {
        width: 100%;
        flex-basis: 100%;
    }

    .c-calc__table-thead div[data-role="select"] {
        width: calc(50% - 0.25em);
        flex-basis: calc(50% - 0.25em);
        text-align: center;
    }

    .c-calc__table-body .c-calc__table-td:first-child {
        display: block;
        padding-right: 1.5em;
    }

    .c-calc__table-body h5.c-calc__table-title, .c-calc__table-body .c-calc__table-td:first-child p.c-calc__table-text {
        transform: none;
    }

    .c-calc__table-td:first-child {
        padding: 0;
    }

    p.c-calc__table-text {
        margin-bottom: 1em;
    }

    .c-calc__table-result .c-calc__table-td.active:nth-child(n+2) {
        padding: 1.3em;
    }

    .c-calc__table-mobile {
        width: 100%;
        flex-basis: 100%;
        flex-wrap: wrap;
        gap: 1.125em;
    }

    .c-calc__table-tr {
        padding: 0 1.5em;
    }

    .card-calculator {
        padding: 0;
    }

    .c-calc__table-thead .c-calc__table-td {
        flex-wrap: wrap;
    }

    .c-calc__tab {
        background: #FFF;
        width: 100%;
        height: auto;
    }

    .c-calc__tab-item {
        width: 25%;
        background: #F1F1FF;
    }

    .c-calc__table-cena {
        padding: 0 1.5em;
    }

    .cena {
        flex-wrap: wrap;
        padding-bottom: 1em;
    }

    .c-calc__table-result {
        height: auto;
        width: 100%;
        margin: 0;
        padding: 1.5em;
        background: #FFFFFF;
    }

    .c-calc__table-tfoot {
        padding: 0;
    }

    .c-calc__table-body {
        padding: 0;
    }

    .c-calc__table-result .c-calc__table-tr {
        padding: 0;
        height: auto;
    }

    [data-role="present"] {
        margin: 0;
        height: auto;
    }

    .c-calc__tooltip {
        right: auto;
        word-wrap: break-word;
        width: max-content;
        max-width: 320px;
    }

    .c-calc__header-tooltip {
        white-space: unset;
    }
}

@media (max-width: 630px) {
    .c-calc__table-body .c-calc__table-td:first-child, .c-calc__table-tfoot .c-calc__table-td:first-child {
        width: 65%;
        flex-basis: 65%;
    }

    div[data-role="option"], .c-calc__table-tfoot .c-calc__table-td:nth-child(n+2) {
        width: 35%;
        flex-basis: 35%;
    }

    .c-calc__table-thead div[data-role="select"] {
        min-width: 100px;
        padding: 0 1em 1.5em;
    }

    span.cena__date {
        padding: 0;
        width: 100%;
    }

    .c-calc__table-thead .c-calc__table-td.active::before {
        left: 0;
        width: 100%;
    }
}

@media (max-width: 500px) {
    .c-calc__table-td:first-child, .c-calc__table-body .c-calc__table-td:first-child, .c-calc__table-td, div[data-role="option"], .c-calc__table-result div[data-role="option"], .c-calc__table-tfoot div[data-role="option"] {
        width: 100%;
        flex-basis: 100%;
    }

    .c-calc__table-tfoot .c-calc__table-td:first-child, .c-calc__table-tfoot .c-calc__table-td:nth-child(n+2) {
        width: 100%;
        flex-basis: 100%;
    }

    [data-role="bonus"] .c-calc__table-td:first-child {
        padding: 1em 0 0 0;
    }

    .c-calc__tab-item {
        width: 50%;
    }

    .c-calc__tab-item h4.c-calc__table-title:focus, .c-calc__tab-item h4.c-calc__table-title:active {
        background: #FFF;
    }

    .c-calc__table-td.active.best-result {
        margin: 0 !important;
        padding: 1.3em 2em;
    }

    .c-calc__table-tfoot span.c-calc__table-gray {
        text-align: right;
    }

    span.c-calc__table-gray br, span.c-calc__table-success br {
        display: none;
    }

    .c-calc__table-result {
        border-radius: 0;
        padding: 0 1.5em;
    }

    .c-calc__table-result .c-calc__table-price {
        font-size: 32px;
    }

    .c-calc__table-result .c-calc__table-price {
        text-align: left;
    }

    div[data-role="present"] .c-calc__table-price.no-price {
        transform: translateY(-8px);
    }

    .c-calc__table-price.small--price {
        font-size: 1.35em;
    }

    .c-calc__table-body .c-calc__table-td:first-child {
        width: 100%;
        flex-basis: 100%;
    }

    div[data-role="option"] {
        width: 100%;
        flex-basis: 100%;
    }

    .c-calc__table-body .c-calc__table-td:first-child {
        padding: 0;
    }

    .c-calc__table-tds {
        border: 0;

        &::after {
            content: '';
            position: absolute;
            left: 1.5em;
            bottom: 0;
            width: calc(100% - 3em);
            height: 2px;
            background: hsla(0, 0%, 0%, 0.1);
        }
    }
}

@media (max-width: 420px) {

    .c-calc__wrap {
        padding: 1em 0;
        border-radius: 0;
    }

    div[data-input="extend"], div[data-input="price"] {
        width: 100%;
    }
}
