

a{
    text-decoration: none;
}

.container {
    margin: 2rem auto;
    padding: 1rem;
    background:var(--clr-light);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.shop-heading{
    text-align: center;
    font-size: var(--size-2xl);
    margin: 10px;
}

.back{
    display: flex;
    width: 180px;
}

.back-homepage{
    position: relative;
    display: flex;
    color: var(--clr-dark);
    align-items: center;
    width: 70px;
}

.bx{
    color: var(--clr-dark);
    font-size: var(--size-2xl);
}

.h2back{
    font-weight: 400;
}

.back-products{
    position: relative;
    display: flex;
    color: var(--clr-dark);
    align-items: center;
    width: 90px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--clr-lightgrey);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
    margin-left: 1rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    
}

.cart-item-quantity span{
    font-size: var(--size-xl);
    padding: 10px;
    
}

.quantity-button {
    background: var(--clr-lightgrey);
    color: var(--clr-light);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

.quantity-button:hover {
    background: var(--clr-grey);
}

.remove-button {
    background: var(--clr-red);
    color: var(--clr-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.remove-button:hover {
    background: darkred;
}

.cart-summary {
    text-align: center;
    margin-top: 2rem;
}

.cart-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cart-summary p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#checkout-button {
    background: var(--clr-green);
    color: var(--clr-light);
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
}

#checkout-button:hover {
    background: darkgreen;
}

