/* Real Optic · Cotizador — Checkout de pago */
.ro-pay { max-width: 1040px; margin: 0 auto; padding: 24px 16px 48px; font-size: 15px; color: #1f2937; }
.ro-pay-msg { max-width: 640px; margin: 48px auto; padding: 28px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; text-align: center; font-size: 16px; }
.ro-pay-ok { background: #f0fdf4; border-color: #bbf7d0; }

.ro-pay-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .ro-pay-cols { grid-template-columns: 1fr; } .ro-pay-summary { order: -1; } }

.ro-pay-h { font-size: 24px; margin: 0 0 4px; }
.ro-pay-sub { color: #64748b; margin: 0 0 20px; }
.ro-pay-sec { font-size: 15px; margin: 26px 0 10px; padding-bottom: 6px; border-bottom: 2px solid #e2e8f0; }

.ro-pay-pills { display: flex; gap: 10px; margin-bottom: 14px; }
.ro-pill { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border: 1.5px solid #e2e8f0; border-radius: 10px; cursor: pointer; font-weight: 600; color: #64748b; background: #fff; transition: all .15s; }
.ro-pill input { position: absolute; opacity: 0; pointer-events: none; }
.ro-pill-on { border-color: #0B5FA5; color: #0f172a; background: #eff6ff; box-shadow: 0 0 0 3px rgba(11,95,165,.12); }

.ro-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.ro-pay-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .04em; }
.ro-pay-grid input, .ro-pay-grid select { padding: 11px 12px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: 15px; background: #fff; width: 100%; }
.ro-pay-grid input:focus, .ro-pay-grid select:focus { outline: none; border-color: #0B5FA5; box-shadow: 0 0 0 3px rgba(11,95,165,.12); }
.ro-pay-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .ro-pay-grid { grid-template-columns: 1fr; } }

.ro-pay-methods { display: flex; flex-direction: column; gap: 8px; }
.ro-pay-method { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px; cursor: pointer; background: #fff; }
.ro-pay-method:has(input:checked) { border-color: #0B5FA5; background: #eff6ff; }
.ro-pay-method-name { flex: 1; font-weight: 600; }
.ro-pay-method-cost { font-weight: 700; color: #0f172a; }

.ro-pay-btn { display: block; width: 100%; margin-top: 22px; padding: 15px; background: #0B5FA5; color: #fff; font-size: 16px; font-weight: 700; border: none; border-radius: 10px; cursor: pointer; transition: filter .15s; }
.ro-pay-btn:hover { filter: brightness(1.1); }
.ro-pay-btn:disabled { opacity: .5; cursor: not-allowed; }
.ro-pay-hint { font-size: 13px; color: #94a3b8; margin: 10px 0 0; }

.ro-pay-summary { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px; position: sticky; top: 24px; }
.ro-pay-summary h3 { margin: 0 0 14px; font-size: 16px; }
.ro-pay-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.ro-pay-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 8px 10px; }
.ro-pay-item-img img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; display: block; }
.ro-pay-item-txt { flex: 1; display: flex; flex-direction: column; }
.ro-pay-item-name { font-weight: 600; font-size: 13px; }
.ro-pay-item-qty { font-size: 12px; color: #64748b; }
.ro-pay-item-sub { font-weight: 700; font-size: 13px; white-space: nowrap; }
.ro-pay-tot > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.ro-pay-tot span { color: #64748b; }
.ro-pay-descline b { color: #16a34a; }
.ro-pay-grand { border-top: 2px solid #e2e8f0; margin-top: 6px; padding-top: 10px !important; font-size: 17px !important; }
.ro-pay-grand b { font-size: 18px; }
