.bag-collapse-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #f8f9fa;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    z-index: 4;
}

.bag-collapse-content .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e3d4f8;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.bag-collapse-content .btn-close:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.bag-collapse-content .btn-close:focus {
    border: none;
    box-shadow: none;
}

h4 {
    padding-left: 0;
    text-align: left;
}

#chart {
    flex-grow: 1; /* Allow the chart to take available space */
    overflow-y: auto; /* Enable scrolling for the chart content */
    padding-right: 5px;
    margin-bottom: 20px;
}

.chart-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-image img {
    max-width: 80px;
    height: auto;
    border-radius: 5px;
}

.product-info {
    flex-grow: 1;
    margin-left: 15px;
}

.product-info h4 {

    font-size: 18px;
}

.product-info p {
    margin: 5px 0;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    background-color: #f8f9fa;
}

.buttons-container button {
    width: 100%;
}

.chart-product .remove-btn {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 10px;
    transition: color 0.3s ease;
    justify-content: right;
}

.chart-product .remove-btn:hover {
    color: black;
}

.product-remove{
    display: flex;
    justify-content: right;
}

.product-pricing {
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    color: gray;
}

.discounted-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
}

.discount-badge {
    background-color: var(--primary-color); 
    color: black;
    padding: 3px 8px;
    border-radius: 50%;
    font-size: 0.9rem;
}
