:root {
    /* ORO */
    --gold-left: #f2b344;
    --gold-right: #a7742a;
    --gold-border: #f0b24a;
    --gold-soft: #e9dfcf;
    /* ARGENTO */
    --silver-left: #6f6f6f;
    --silver-right: #1e1e1e;
    --silver-border: #9a9a9a;
    --silver-soft: #d9d9d9;
    --ui-gray-2: #bdbdbd;
    --kt-active: #f2b344;
}
.modal {
    z-index: 2000 !important;
}

.modal-backdrop {
    z-index: 1990 !important;
}
.metal-panel {
    background: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}
body.quotes-ready .metal-panel {
    opacity: 1;
    transform: none;
}
    .metal-panel .metal-head {
        display: flex;
        height: 44px;
        border-bottom: 2px solid;
    }

    .metal-panel .metal-badge {
        width: 100px;
        color: #fff;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.22rem;
        letter-spacing: .2px;
        text-shadow: 0 1px 0 rgba(0,0,0,.12);
    }

    .metal-panel .metal-title {
        flex: 1;
        display: flex;
        align-items: center;
        gap: .35rem;
        padding: 0 12px;
        font-weight: 700;
        font-size: .92rem;
        white-space: nowrap;
        text-shadow: 0 1px 0 rgba(0,0,0,.18);
    }

        .metal-panel .metal-title em {
            font-style: italic;
            font-weight: 600;
            opacity: .9;
        }

        .metal-panel .metal-title .value {
            color: #fff;
            font-weight: 700;
        }

    .metal-panel .metal-body {
        padding: 10px 12px 14px;
    }

.panel-gold {
    border: 2px solid var(--gold-border);
}

    .panel-gold .metal-head {
        border-bottom-color: var(--gold-border);
    }

    .panel-gold .metal-badge {
        background: var(--gold-left);
    }

    .panel-gold .metal-title {
        background: var(--gold-right);
        color: var(--gold-soft);
    }

.panel-silver {
    border: 2px solid var(--silver-border);
}

    .panel-silver .metal-head {
        border-bottom-color: var(--silver-border);
    }

    .panel-silver .metal-badge {
        background: var(--silver-left);
    }

    .panel-silver .metal-title {
        background: var(--silver-right);
        color: var(--silver-soft);
    }

.metal-intro h2 {
    margin: 0 0 4px 0;
    font-size: 1.18rem;
    font-weight: 700;
    font-style: italic;
    color: #111;
    line-height: 1.1;
}

.metal-intro p {
    margin: 0 0 10px 0;
    font-size: .9rem;
    color: #3b3b3b;
    line-height: 1.2;
}

.kt-grid {
    margin-top: 4px;
}

.kt-btn {
    width: 100%;
    border: 0;
    background: #efefef;
    border-radius: 16px;
    padding: 8px 6px;
    text-align: center;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    line-height: 1.05;
    cursor: pointer;
    user-select: none;
}

    .kt-btn .kt {
        display: block;
        font-weight: 700;
        font-size: 1.08rem;
        color: #7a6a00;
        margin-bottom: 4px;
        line-height: 1.05;
    }

    .kt-btn .price {
        display: block;
        font-weight: 700;
        font-size: .75rem;
        color: #2b2b2b;
        line-height: 1.05;
    }

    .kt-btn.is-active {
        background: var(--kt-active);
    }

        .kt-btn.is-active .kt {
            color: #fff;
        }

        .kt-btn.is-active .price {
            color: #000;
        }

.panel-silver .kt-btn.is-active {
    background: #9c9c9c;
}

    .panel-silver .kt-btn.is-active .kt {
        color: #fff;
    }

    .panel-silver .kt-btn.is-active .price {
        color: #000;
    }

.calc-row {
    margin-top: 14px;
    align-items: end;
    row-gap: 10px;
}

.lbl {
    font-weight: 700;
    font-size: .92rem;
    color: #2b2b2b;
    margin-bottom: 6px;
}

.peso-wrap {
    display: flex;
    width: 100%;
    max-width: 320px;
    border: 2px solid var(--ui-gray-2);
    background: #fff;
}

    .peso-wrap input {
        border: 0;
        outline: none;
        width: 100%;
        padding: 10px 12px;
        font-weight: 900;
        font-size: 1.02rem;
        text-align: center;
    }

    .peso-wrap .unit {
        min-width: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e6e6e6;
        border-left: 2px solid var(--ui-gray-2);
        font-weight: 900;
        font-size: 1.02rem;
    }

.val-box {
    width: 100%;
    max-width: 260px;
    background: #000;
    color: #fff;
    font-weight: 900;
    font-size: 1.18rem;
    padding: 10px 14px;
    text-align: center;
}

.arrow {
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 900;
    padding-bottom: 6px;
}

.panel-gold .arrow {
    color: var(--kt-active);
}

.panel-silver .arrow {
    color: #9c9c9c;
}

.btn-lock {
    border: 0;
    border-radius: 14px;
    padding: 10px 18px;
    font-weight: 900;
    font-style: italic;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
    white-space: nowrap;
}

.panel-gold .btn-lock {
    background: var(--kt-active);
    color: #000;
}

.panel-silver .btn-lock {
    background: #7f7f7f;
    color: #fff;
}

.btn-lock:active {
    transform: translateY(1px);
}

.muted-note {
    font-size: .82rem;
    color: #666;
    margin-top: 8px;
}

.summary-box {
    border: 1px solid rgba(0,0,0,.06);
}

.summary-gold {
    background: #fff4df; /* tenue oro */
}

.summary-silver {
    background: #f0f0f0; /* tenue argento */
}

.peso-feedback {
    display: none;
}
