/* Estilos Generales */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Estilos para el título del checkout */
.page-title {
    text-align: center;
    padding: 60px 20px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-in-out;
}

.bg-dark {
    background: linear-gradient(135deg, #3F51B5 0%, #7d1090 100%);
}

/* Estilos de Tarjeta Resumen */
.shadow {
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.shadow:hover {
    transform: scale(1.02);
}

/* Tabla de carrito */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table td, .cart-table th {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.cart-summary {
    font-size: 18px;
    font-weight: bold;
    color: #1e8f22;
}

/* Animación al mostrar bolsa vacía */
.cart-empty {
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 18px;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.5s ease-in-out forwards;
}

/* Formularios */
input, select, button {
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
}

input:focus, select:focus {
    border: 2px solid #1e3c72;
    box-shadow: 0px 0px 10px rgba(30, 60, 114, 0.3);
    outline: none;
}

/* Botones de acción */
.btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: translateY(-3px);
    box-shadow: 0px 5px 15px rgba(40, 167, 69, 0.4);
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Efecto de sombra en input */
input:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

/* Tarjetas de pago */
.content-culqui-mensaje img, .content-yape img, .content-plin img, .content-tunki img {
    transition: transform 0.3s ease-in-out;
}

.content-culqui-mensaje img:hover, .content-yape img:hover, .content-plin img:hover, .content-tunki img:hover {
    transform: scale(1.1);
}

/* Sección de confirmación */
.section-confirmacion {
    text-align: center;
    padding: 50px 20px;
    opacity: 0;
    animation: fadeInScale 1s ease-in-out forwards;
}

.icon-success {
    font-size: 60px;
    color: #28a745;
    animation: pulse 1.5s infinite;
}

/* Estilos Responsive */
@media (max-width: 768px) {
    .cart-summary {
        font-size: 16px;
    }

    .btn {
        font-size: 14px;
    }

    .shadow {
        margin-bottom: 20px;
    }
}
