.content1 {
    padding: 20px;
    font-family: Arial, sans-serif;
    margin-top: 0;
    visibility: hidden;
}

.content1 h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cart-summary span {
    font-size: 18px;
    font-weight: bold;
}

.checkout-btn {
    background-color: #e63946;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 600px) { 
    .cart-summary {
        flex-direction: column;
    }

    .cart-summary span {
        margin-top: 5px;
    }

    .checkout-btn {
        margin-top: 10px;
    }
}

.cart-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-item-img img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex-grow: 1;
    padding-left: 20px;
}

.cart-item-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cart-item-details p {
    margin: 5px 0;
}

.stock-status {
    font-size: 14px;
}

.quantity-update {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quantity-display {
    font-size: 16px;
    font-weight: bold;
}

.remove-item-btn {
    background-color: #e63946;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.remove-item-btn i {
    font-size: 18px;
}

.remove-item-btn:hover {
    background-color: #d62828;
    transform: scale(1.05);
}

.quantity-update button {
    width: 20px;
    height: 20px;
    background-color: #e63946;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.quantity-update button:hover {
    background-color: #d62828;
    transform: scale(1.1);
}

.product-total-price {
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        align-items: center;
    }

    .cart-item-details {
        padding-left: 0;
        text-align: center;
    }

    .quantity-update {
        justify-content: center;
    }

    .remove-item-btn {
        margin-left: 50%;
        transform: translateX(-50%);
    }
}
