
.calculator-wrapper {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 2em 0 5em 0;
    box-sizing: border-box;
}

.card {
    background: #fff;
    border: 0.5px solid #d3d1c7;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-row label {
    font-size: 14px;
    color: #6b6b68;
    white-space: nowrap;
}

.price-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    border: 0.5px solid #b4b2a9;
    border-radius: 8px;
    overflow: hidden;
}

.price-input-wrap span {
    padding: 0 12px;
    font-size: 15px;
    color: #6b6b68;
    background: #f5f4f0;
    height: 42px;
    display: flex;
    align-items: center;
    border-right: 0.5px solid #d3d1c7;
}

.price-input-wrap input {
    border: none;
    outline: none;
    background: #fff;
    padding: 0 12px;
    height: 42px;
    font-size: 15px;
    width: 100%;
    color: #1a1a18;
}

.price-input-wrap input:focus {
    background: #f5f4f0;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .calculator-wrapper { padding: 3em 2em; }
}

@media (max-width: 480px) {
    .summary-grid { grid-template-columns: 1fr; }
}

.sum-card {
    background: #f5f4f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.sum-card .label {
    font-size: 12px;
    color: #6b6b68;
    margin-bottom: 6px;
}

.sum-card .sub {
    font-size: 12px;
    color: #888780;
    margin-bottom: 4px;
}

.sum-card .total {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a18;
}

.section-title {
    font-size: 11px;
    font-weight: 500;
    color: #888780;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 0.75rem;
    padding-bottom: 8px;
    border-bottom: 0.5px solid #d3d1c7;
}

.subsection-title {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a18;
    margin: 1rem 0 0.5rem;
}

.subsection-desc {
    font-size: 13px;
    color: #6b6b68;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

table.b-calculator {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

table.b-calculator th {
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    color: #6b6b68;
    padding: 7px 8px;
    background: #f5f4f0;
}

table.b-calculator th:not(:first-child) { text-align: right; }

table.b-calculator td {
    padding: 8px 8px;
    border-top: 0.5px solid #d3d1c7;
    color: #1a1a18;
}

table.b-calculator td:not(:first-child) { text-align: right; }

table.b-calculator tr.active td {
    background: #e6f1fb;
    color: #185fa5;
}

table.b-calculator tr.total-row td {
    font-weight: 500;
    background: #f5f4f0;
}

table.b-calculator tr.discount-row td {
    color: #3b6d11;
    font-weight: 500;
    background: #eaf3de;
}

.note {
    font-size: 12px;
    color: #6b6b68;
    line-height: 1.7;
    padding: 12px 14px;
    background: #f5f4f0;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.table-wrap { overflow-x: auto; }