.mv-recargas-grid {
    --mv-grid-gap: 1rem;
    --mv-cols-d: 2;
    --mv-cols-t: 2;
    --mv-cols-m: 1;
    display: grid;
    grid-template-columns: repeat( var(--mv-cols-d), minmax(0, 300px) );
    gap: var(--mv-grid-gap);
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mv-recargas-grid__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #0B9CEA;
    background-image: url('https://movistar.com.sv/moup/2026/03/Vector-bg-card.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    border-radius: 15px;
    padding: 1.1rem 1.25rem 1.25rem;
    width: 100%;
    height: 300px;
    overflow: hidden;
    opacity: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mv-recargas-grid__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,120,212,0.35);
}

/* Header */
.mv-recargas-grid__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.mv-recargas-grid__card-badge {
    border: 0.57px solid rgba(255,255,255,0.7);
    border-radius: 3px;
    /* padding: 5px 10px; */
    padding: 1px 0;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    width: 79.71px;
    height: 24px;
    text-align: center;
}

.mv-recargas-grid__card-logo {
    width: 28px;
    height: auto;
}

.mv-recargas-grid__card-logo-2 {
    width: 57.61px;
    height: auto;
}

/* Ocultar thumbnail del CPT */
.mv-recargas-grid__card-img { display: none; }
.mv-recargas-grid__card-title { display: none; }

/* Body */
.mv-recargas-grid__card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Precio */
.mv-recargas-grid__card-price {
    font-size: 70px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1;
    letter-spacing: 0;
}

/* Subtítulo */
.mv-recargas-grid__card-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    margin: 0;
    line-height: 1;
}

.mv-recargas-grid__card-subtitle strong {
    font-weight: 700;
}

/* CTA */
.mv-recargas-grid__card-cta {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
    background: #ffffff;
    color: #0B9CEA;
    border-radius: 5px;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: background 0.2s;
    margin-top: -79px;
}

.mv-recargas-grid__card-cta:hover,
.mv-recargas-grid__card-cta:focus-visible {
    background: #e6f1fb;
    color: #0078c0;
    text-decoration: none;
}

/* Mensajes */
.mv-recargas-grid__message {
    grid-column: 1 / -1;
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
}

.mv-recargas-grid__message--empty {
    background: #f9fafb;
    color: #6b7280;
    border: 1px dashed #d1d5db;
}

.mv-recargas-grid__message--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .mv-recargas-grid { 
        grid-template-columns: repeat( var(--mv-cols-t), minmax(0, 300px) );
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mv-recargas-grid { 
        grid-template-columns: minmax(0, 300px);
        justify-content: center;
    }
    .mv-recargas-grid__card { height: 300px; }
}

/* Editor */
.mv-recargas-grid--editor {
    border: 2px dashed #c5c5c5;
    border-radius: 8px;
    padding: 1rem;
    background: #fafafa;
    min-height: 5rem;
    display: block;
}


/* cards blanco */

/* ── Template blanco ── */
.mv-recargas-grid__card--blanco {
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #e0e0e0;
}

.mv-recargas-grid__card--blanco .mv-recargas-grid__card-badge {
    border-color: #333333;
    color: #333333;
}

.mv-recargas-grid__card--blanco .mv-recargas-grid__card-price {
    color: #0B9CEA;
    font-size: 2.5rem;
}

.mv-recargas-grid__card--blanco .mv-recargas-grid__card-subtitle {
    color: #333333;
}

.mv-recargas-grid__card--blanco .mv-recargas-grid__card-cta {
    background: #0B9CEA;
    color: #ffffff;
    border-radius: 5px;
}

.mv-recargas-grid__card--blanco .mv-recargas-grid__card-cta:hover {
    background: #0078c0;
    color: #ffffff;
}