.cart-item:hover, .favorite-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    background-color: #134596e7;
}

.cart-item, .favorite-item {
    background: linear-gradient(145deg, #134596, #1a79b6);
    color: white;
    border-radius: 15px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.cart-item img, .favorite-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

.cart-item-page {
    background: linear-gradient(145deg, var(--cor-primaria), #002776);
    color: white;
    border-radius: 15px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 14px 0 rgba(0,0,0,0.15);
    min-height: 150px;
    max-height: 150px;
    max-width: 100%;
    min-width: 100%;
}

.cart-item-page:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    background-color: #134596e7;
}

.cart-item-page img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
}

.cart-item-page input {
    width: 70px;
    height: 30px;
    border-radius: 5px;
    border: none;
    padding: 5px;
    margin-left: 10px;
    background-color: #fff;
    color: #000;
    font-weight: 500;
}

.cart-item-page input:focus {
    border: 2px solid var(--cor-primaria);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.cart-item-page button {
    background-color: #ff2f2f;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    width: 40px;
    height: 30px;
}

.cart-item-page button:hover {
    background-color: #ff7070;
}

.cart-item-page i {
    color: white;
}

.card-orcamento {
    color: white;
    background: linear-gradient(165deg, #009B3A, #002776, #002776, #FEDF00);
    padding: 10px 20px;
    border-radius: 15px;
    margin-top: 140px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    min-width: 380px;
    max-width: 380px;
    min-height: 600px;
    max-height: 600px;
    z-index: 0;

}

.card-orcamento::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: -1;
    filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: all 0.3s ease;
}

.card-orcamento:hover::after {
    transform: translateY(-2px);
    background: linear-gradient(165deg, #009B3A, #002776, #002776, #FEDF00);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1200px !important;
    min-width: 340px;
}

.col-lg-8.align-self-start {
    height: 650px;
    display: flex;
    flex-direction: column;
}

#cart-page-items {
    flex: 1 1 0;
    overflow-y: auto;
    min-height: 0;
}

@media (max-width: 991px) {

    .card-orcamento {
        min-width: 72%;
        max-width: 72%;
        margin-top: 0;
        margin: 20px 120px;
    }

    #cart-page-items {
        margin: 20px 120px;
    }

}

@media (max-width: 768px) {

    .card-orcamento {
        min-width: 100%;
        max-width: 100%;
        margin: 20px 120px;
    }

    #cart-page-items {
        margin: 0;
    }

}