.calc {
    width: 100%;
}
.calc__section {
    margin-bottom: 28px;
}
.calc__section-title {
    margin: 0 0 12px;
    font-family: "ITCOfficinaSansW10-Bd", sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #43474C;
}
.calc__table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}
.calc__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
    font-size: 14px;
}
.calc__table--wide {
    min-width: 640px;
}
.calc__results .calc__table-wrap {
    overflow: visible;
}
.calc__results .calc__table th {
    text-align: left;
}
.calc__results .calc__table td {
    white-space: nowrap;
}
.calc__table th,
.calc__table td {
    padding: 6px 8px;
    text-align: center;
    vertical-align: middle;
}
.calc__table thead th,
.calc__table tbody th {
    font-family: "ITCOfficinaSansW10-Md", sans-serif;
    font-weight: normal;
    color: #fff;
    background-color: #8C9197;
    border-radius: 3px;
}
.calc__table tbody td {
    color: #5A5F64;
    background-color: #DDE3E9;
    border-radius: 3px;
}
.calc__input {
    width: 64px;
    max-width: 100%;
    height: 28px;
    padding: 0 4px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background: #fff;
    color: #000;
    text-align: center;
    font-size: 12px;
}
.calc__results {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
    gap: 16px;
    align-items: start;
}
.calc__chart {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}
.calc__chart-svg {
    display: block;
    width: 100%;
    height: auto;
}
.calc__chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
    font-size: 13px;
}
.calc__chart-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 2px;
    vertical-align: middle;
}
.calc__chart-swatch--a {
    background: #DDE3E9;
}
.calc__chart-swatch--b {
    background: #8C9197;
}
.calc__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.calc__field label {
    display: block;
    margin-bottom: 6px;
    color: #43474C;
}
.calc__field .calc__input,
.calc__field select {
    width: 100%;
    height: 36px;
}
.calc__actions {
    text-align: center;
    margin: 8px 0 20px;
}
.calc__button {
    display: inline-block;
    padding: 10px 24px;
    border: 0;
    border-radius: 4px;
    background-color: #ee2d2f;
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.calc__button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.calc__catalog-link {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    background: #FFFF1E;
    color: #2C3135;
    text-decoration: none;
    border-radius: 4px;
}
.calc__catalog-link:hover {
    color: #2C3135;
}

@media (max-width: 991px) {
    .calc__results,
    .calc__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .calc__results,
    .calc__grid {
        grid-template-columns: 1fr;
    }
    .calc__table--wide {
        min-width: 520px;
    }
}
