.edc-shop-container {
    display: flex;
    flex-wrap: wrap; 
    width: 100%;
}

.edc-shop-counter {
    display: inline-block;
    align-items: center;
    justify-content: center; 
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.edc-shop-coffee-character {
    /* flex: 2;   */
    background-color: #f4f4f4;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.edc-shop-cart {
    flex: 1;  
    background: rgba(0, 0, 0, 0.5);
    /* padding: 20px; */
    padding-left:   20px;
    padding-right:  20px;
    padding-top:    0px;
    padding-bottom: 0px;  
    /* display: flex; */
    flex-direction: column;
    align-items: center;
}

#packageSize {
    padding: 5px;
    font-size: 16px;
}

.controls-container {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.quantity-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.quantity-control button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.1em;
}

.quantity-control button:hover {
    background-color: #0056b3;
}

.quantity-control span {
    margin: 0 10px;
    font-weight: bold;
}

main {
    padding: 20px;
    /* Changed from grid for more flexible individual placement */
    display: flex; /* Or 'block' */
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    gap: 20px; /* Space between product areas if using flex-wrap */
    justify-content: center; /* Center products if there's extra space */
}

.product-card select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    /* border: 1px solid #ccc; */
    border: 1px solid #c49b63;
    border-radius: 4px;
    color: #c49b63;
    background-color: rgba(0, 0, 0, 0.5);
}

.add-btn {
    align-content: center;
    padding: 10px 15px;
} 

@media (max-width: 768px) {
    .edc-shop-container {
        flex-direction: column; 
    }

    .edc-shop-coffee-character, .edc-shop-cart {
        width: 100%; 
    }

    .controls-container {
        flex-direction: column; 
        gap: 10px; 
        align-items: center;
    }

    .add-button {
        width: 80%; /* Adjust button width for mobile */
    }
}

/* Responsive Design */
.product-select {
  display: flex;
  margin: 10px;
  
  background-color: black;
  color: #6c757d;
  
  padding: 12px;
  font-size: 14px;
  border: 2px solid #c49b63;
}

.product-select:hover {
    /* border-color: #357ABD; */
    /* background-color: #c49b63;  */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.edc-shop-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-right: 10px;
}

#cart-summary {
    background-color: rgba(0, 0, 0, 0.5); /* Transparent white */
    border:           1px solid #c49b63;
    padding:          20px;
    margin:           20px;
    border-radius:    8px;
    text-align:       right;
}

#cart-total {
    font-size: 1.0em;
    color: #c49b63;
    font-weight: bold;
}

#checkout-button {
    /* background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px; */
    cursor: pointer;
    /* font-size: 1.1em;
    margin-top: 10px; */
}

#checkout-button:hover {
    background-color: #c49b63;
}

.hidden {
    display: none;
}

#empty-cart-message {
    text-align: center;
    font-style: italic;
    color: #777;
    margin-top: 50px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

/* Cart Specific Styles */
#cart-items {
    display: block; 
    padding: 10px; 
}

.cart-item {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    /* margin-bottom: 15px; */
    /* border-bottom: 1px solid #eee; */
    /* padding-bottom: 15px; */
    /* background: black;  */
    
    background-color: rgba(0, 0, 0, 0.5); /* Transparent white */
    border:           1px solid #c49b63;
    padding:          20px;
    margin:           20px;
    border-radius:    8px;
    text-align:       right;
}

/* .cart-item:last-child {
    border-bottom: none;
} */

.cart-item-details {
    flex-grow: 1;
    text-align: left;  /* BHU center */
}

.cart-item-details .item-total {
    font-weight: bold;
    color: #0056b3;
}

.cart-item-actions {
    display: flex;
    align-items: right;  /* BHU center */
}

.remove-item-button {
    border-radius: 4px;
    margin-left: 10px;
    margin-bottom: 10px;
    height: 42px;
    
}

.remove-item-button:hover {
    background-color: #c82333;
}