/* Metal Price Calculator – Elementor Widget */

.mp-calc-wrap {
    background-color: #f0ebe1;
    padding: 40px 36px;
    border-radius: 8px;
}

.mp-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 680px) {
    .mp-calc-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.mp-calc-col-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: #1a1209;
    margin-bottom: 24px;
    line-height: 1.1;
}

.mp-calc-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(0,0,0,.07);
}

.mp-calc-row:first-of-type {
    border-top: none;
}

.mp-calc-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mp-calc-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1209;
    line-height: 1.3;
}

.mp-calc-sublabel {
    font-size: 12px;
    color: #888;
    line-height: 1;
}

.mp-calc-input {
    width: 72px;
    background: #e8e1d5;
    border: none;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 14px;
    font-family: inherit;
    color: #1a1209;
    text-align: right;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    transition: box-shadow .15s;
}

.mp-calc-input::placeholder {
    color: #888;
    opacity: 1;
}

.mp-calc-input::-webkit-outer-spin-button,
.mp-calc-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mp-calc-result {
    font-size: 15px;
    font-weight: 700;
    color: #1a1209;
    min-width: 90px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.mp-calc-na {
    color: #aaa;
    font-weight: 400;
}

.mp-calc-divider {
    border: none;
    border-top: 1px solid #c8bfb0;
    margin: 16px 0 4px;
}

.mp-calc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 2px solid #c8bfb0;
}

.mp-calc-total-label {
    line-height: 1.2;
}

.mp-calc-total-value {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    line-height: 1.1;
}
