.checkout-section { padding: 80px 0; background: #f4f7fa; }
.checkout-box { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.checkout-title { color: #002261; margin-bottom: 25px; font-weight: 700; }

.addon-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: 0.3s;
}
.addon-card:hover { border-color: #2b74b9; background: #f9fbff; }

.addon-info { display: flex; align-items: center; gap: 15px; }
.addon-check { transform: scale(1.3); cursor: pointer; }
.addon-price { font-weight: 700; color: #2b74b9; font-size: 18px; }

/* Tarjeta Lateral de Pago */
.order-summary-card { background: #002261; color: #fff; padding: 30px; border-radius: 12px; position: sticky; top: 100px; }
.order-summary-card h4 {
    color: #ffffff !important; /* Blanco puro para que resalte */
    font-size: 18px;
    margin-bottom: 5px;
    opacity: 0.9;
}
.total-amount { font-size: 32px; font-weight: 800; margin: 20px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }

.btn-payment {
    width: 100%;
    min-height: 60px; /* Altura fija para que respiren los textos */
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center; /* Centrado total */
    text-align: center;
    line-height: 1.2;
    transition: 0.3s;
    cursor: pointer;
}

.btn-bbva {
    background: #ffffff;
    color: #004481;
}
.btn-bbva .logo-text {
    font-weight: 800;
    margin-right: 8px;
    font-size: 18px;
}
.btn-mercadopago {
    background: #009ee3;
    color: #ffffff;
    flex-direction: column; /* Texto uno abajo del otro para que no choque */
    padding: 12px;
}

.btn-mercadopago .mp-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.btn-mercadopago .mp-action {
    font-size: 16px;
    font-weight: 700;
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}


/* Mejora visual para los inputs en el carrito */
#auth-section .form-control {
    font-size: 14px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

#auth-section .btn-block {
    padding: 10px;
    font-weight: 600;
    font-size: 14px;
}

/* Efecto de deshabilitado para métodos de pago si no hay login */
#payment-methods[style*="none"] {
    filter: grayscale(1);
    cursor: not-allowed;
}

/* --- ESTILOS DE BOTONES EN AUTH-SECTION --- */

/* 1. Botón "Ya soy cliente" (Es un btn-outline-primary) */
#auth-section .btn-outline-primary {
    color: #002261 !important;
    border-color: #002261 !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

#auth-section .btn-outline-primary:hover {
    background-color: #002261 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* 2. Botón "Crear cuenta" y "Entrar" (Es un btn-primary) */
#auth-section .btn-primary {
    background-color: #002261 !important; /* Azul Marino althek */
    border-color: #002261 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

#auth-section .btn-primary:hover {
    background-color: #0044cc !important; /* Azul más vivo pero no chillón */
    border-color: #0044cc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 3. Botón "Registrarme" (Es un btn-success) */
#auth-section .btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

#auth-section .btn-success:hover {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 4. Botones de "Cancelar" (Son btn-link text-muted) */
#auth-section .btn-link.text-muted {
    color: #6c757d !important; /* Gris */
    text-decoration: none !important;
    background: none !important; /* Quita el fondo blanco en hover */
    border: none !important;
    box-shadow: none !important;
    font-size: 12px;
}

#auth-section .btn-link.text-muted:hover {
    color: #333333 !important; /* Gris oscuro */
    text-decoration: underline !important;
    background: transparent !important; /* Asegura que no se pinte de blanco */
}

/* Ajuste general para inputs al hacer foco */
#auth-section .form-control:focus {
    border-color: #002261;
    box-shadow: 0 0 0 0.2rem rgba(0, 34, 97, 0.1);
}

.addon-card-vertical {
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.addon-card-vertical:hover {
    border-color: #009ee3 !important;
    background-color: #f8fbff !important;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* Estilo para el nombre del Addon */
.addon-name-highlight {
    font-size: 1.25rem;
    font-weight: 800;
    color: #002261; /* Azul althek */
    letter-spacing: -0.5px;
}

/* Ajuste para que el checkbox se vea alineado con el título grande */
.custom-control-label::before, 
.custom-control-label::after {
    top: 0.5rem !important;
}