/* ----------------------------------------------------------- */

.info-pag{
    font-family: "Lato";
    font-size: 32px;
    font-weight: 300;
    margin-left: 10px;
    text-align: center;
    margin-bottom: 20px;
}






/* Contenedor general del carrito */
#contenedor-carrito {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    justify-content: center;
}

.producto-carrito {
    background-image: 
        linear-gradient(
            to top right, lightpink , lightblue
        );
    border-radius: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 220px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-carrito:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background-image: 
        linear-gradient(
            to bottom right, lightgreen , lightsalmon
        );
}


.producto-carrito img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
}


.producto-carrito h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #444;
}


.producto-carrito p {
    font-size: 1rem;
    color: #222;
    margin-bottom: 1rem;
    text-align: center;
}


.btn-eliminar-carrito {
    background-color: #fcecdb;
    color: #333;
    border: none;
    border-radius: 1rem;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-eliminar-carrito:hover {
    background-color: #806f5fb4;
}

/* ----------------------------------------------------------- */
/* Contenedor de botones de acción  */
#acciones-carrito {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem;
    flex-wrap: wrap;
}

/* Botones de acción */
#acciones-carrito button {
    background-color: rgba(255, 182, 193, 0.76) ;
        
    color: #1d1d1def;
    border: none;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

#acciones-carrito button:hover {
    background-color: #9c6ba875;
}

/* ----------------------------------------------------------- */
/* Responsive */

@media (max-width: 768px) {
    .contenedor-carrito {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 435px) {
    .contenedor-carrito {
        grid-template-columns: 1fr;
    }
}