/* ========================================
   VME CHECKOUT TRANSPARENT v5.6.0
   Pago sin salir de la página
   ======================================== */

.vme-checkout-transparent {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.vme-checkout-grid {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 380px);
    gap: 40px;
    align-items: start;
}

/* ====================
   COLUMNA IZQUIERDA
   ==================== */

.vme-checkout-left h2 {
    font-size: 1.75rem;
    margin: 0 0 30px 0;
    color: #fff;
}

.vme-video-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
}

.vme-video-mini img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.vme-video-mini h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #000;
}

.vme-video-mini p {
    margin: 3px 0;
    font-size: 14px;
    color: #666;
}

body.vme-active .vme-video-mini .vme-price {
    font-size: 20px;
    font-weight: 700;
    color: #2271b1;
}

/* Secciones del formulario */
.vme-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.vme-section:last-of-type {
    border-bottom: none;
}

.vme-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: wheat;
}

/* Campos del formulario */
.vme-field {
    margin-bottom: 15px;
    padding: 5px;
}

.vme-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.vme-field input {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.vme-field input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Opciones de pago - Dark Theme */
.vme-payment-option {
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    max-width: 100%;
}

.vme-payment-option:hover {
    border-color: #D73744;
    background: rgba(215, 55, 68, 0.08);
}

.vme-payment-option.active {
    border-color: #D73744;
    background: rgba(215, 55, 68, 0.12);
}

.vme-payment-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.vme-payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.vme-payment-option label span:first-of-type {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.vme-cards,
.vme-icon {
    font-size: 24px;
}

.vme-payment-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Contenedor del Card Brick de Mercado Pago */
#cardPaymentBrick_container {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

/* ====================
   COLUMNA DERECHA
   ==================== */

.vme-checkout-right {
    position: sticky;
    top: 20px;
}

.vme-summary {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

.vme-summary h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #000;
}

.vme-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #000;
}

.vme-summary hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

.vme-summary-row.vme-total {
    font-size: 18px;
    color: #96c34c;
}

/* ====================
   RESPONSIVE
   ==================== */

@media (max-width: 1024px) {
    .vme-checkout-grid {
        grid-template-columns: 1fr minmax(250px, 320px);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .vme-checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vme-checkout-right {
        position: static;
        width: 100%;
        margin: 0 auto;
    }
    
    .vme-checkout-transparent {
        padding: 0 15px;
    }
    
    .vme-video-mini {
        grid-template-columns: 1fr 1fr;
    }
    
    .vme-video-mini img {
        width: 70%;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .vme-checkout-transparent {
        padding: 0 10px;
        margin: 20px auto;
    }
    
    .vme-checkout-left h2 {
        font-size: 1.4rem;
    }
    
    .vme-summary {
        padding: 15px;
    }
    
    .vme-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}

/* ====================
   NOTICES
   ==================== */

.vme-notice {
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.vme-notice.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.vme-notice.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
