/* Checkout minimalista (AC509): paneles de Billeteras (Deuna) y Efectivo
   (Western Union) con la estructura del mockup: grupo, medio elegido y debajo
   el contenido. Solo apariencia: clases e ids de functions.js intactos. */
.pm-min .section-de-una .card-mode-title,
.pm-min .section-western .card-mode-title {
    display: none;
}

.pm-min .pm-panel-head {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.pm-min .pm-panel-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--pm-ink);
}

.pm-min .pm-chosen {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1.5px solid var(--pm-line);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--pm-ink-2);
}

.pm-min .pm-chosen img {
    margin-right: 12px;
    height: 24px;
    max-width: 90px;
    object-fit: contain;
}

.pm-min .pm-chosen b {
    color: var(--pm-ink);
}

/* Deuna: texto, QR, código, espera y enlace a la app, en ese orden */
.pm-min .section-de-una .scan {
    padding: 0 0 14px;
    color: var(--pm-ink-2);
    font-size: 0.9rem;
    text-align: left;
}

.pm-min .section-de-una .scan p {
    margin: 0;
}

/* Grilla y no flex: su gap funciona en los navegadores de 2020; order sigue valiendo */
.pm-min #de-una {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 0;
}

.pm-min #de-una > * {
    margin: 0;
}

.pm-min #theImg {
    order: 1;
    width: 200px;
    max-width: 100%;
    padding: 12px;
    border: 1px solid var(--pm-line);
    border-radius: 12px;
    background: #fff;
}

.pm-min .pm-deuna-code {
    order: 2;
    padding: 0;
}

.pm-min .pm-deuna-code-label {
    color: var(--pm-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.pm-min .pm-deuna-code-value {
    color: var(--pm-ink);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.pm-min .pm-deuna-timer {
    order: 3;
    color: var(--pm-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.pm-min .section-de-una .waiting {
    order: 4;
    display: flex;
    align-items: center;
    color: var(--pm-ink-2);
    font-size: 0.85rem;
}

.pm-min .section-de-una .waiting::before {
    content: "";
    margin-right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pm-ok);
    animation: pm-wait-pulse 1.4s ease-in-out infinite;
}

@keyframes pm-wait-pulse {
    50% {
        opacity: 0.25;
    }
}

/* "¿Estás en el celular?" va en el ::before del enlace (data-hint): se oculta
   con él, en cualquier navegador */
.pm-min .pm-deuna-open {
    order: 5;
    color: var(--pm-muted);
    font-size: 0.85rem;
}

.pm-min .pm-deuna-open .btn-de-una::before {
    content: attr(data-hint);
    display: inline-block;
    margin-right: 4px;
    color: var(--pm-muted);
    font-weight: 400;
}

.pm-min .pm-deuna-open .btn-de-una {
    padding: 0;
    border: 0;
    background: none;
    color: var(--pm-ink);
    font-size: inherit;
    font-weight: 700;
    text-decoration: underline;
    vertical-align: baseline;
}

.pm-min .pm-deuna-expired {
    order: 6;
    color: var(--pm-ink-2);
}

.pm-min .pm-deuna-regenerate,
.pm-min .section-western #btn-code {
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: var(--pm-ink);
    color: #fff;
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .pm-min .section-de-una .waiting::before {
        animation: none;
    }
}
