/*********************************************************************CARRITO*****************************************
/* Estilos Generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

/* Contenedor del Carrito */
.cart-container {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Estilos de los Elementos del Carrito */
.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.cart-item h2 {
    font-size: 18px;
    color: #333;
}

.cart-item p {
    color: #666;
    font-size: 14px;
}

/* Resumen del Carrito */
.cart-summary {
    text-align: center;
    font-size: 18px;
    color: #333;
}

#cart-total {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Botón de Checkout */
.checkout-button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #ffffff;
    background-color: #ff6b6b;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.checkout-button:hover {
    background-color: #ff4c4c;
    transform: translateY(-2px);
}

.checkout-button:active {
    background-color: #e84343;
}

/* Estilo para el botón de eliminar en el carrito */
.remove-button {
    background-color: #ff6b6b;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
}

.remove-button:hover {
    background-color: #c0392b; /* Rojo más oscuro al pasar el ratón */
    transform: scale(1.1); /* Aumenta ligeramente el tamaño */
}

.remove-button:focus {
    outline: none; /* Elimina el borde por defecto al hacer clic */
}

.empty-cart-message {
    text-align: center;
    margin-top: 20px;
}

.view-products-button {
    padding: 10px 20px;
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-products-button:hover {
    background-color: #c0392b;
}
