html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

header.fixed-top {
    z-index: 1030;
    width: 100%;
}

footer.fixed-bottom {
    z-index: 1030;
    width: 100%;
}

.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 0 15px;
    margin-top: 70px; /* Adjust for the header height */
    margin-bottom: 70px; /* Adjust for the footer height */
}

.product-list {
    background: #414040; /* Optional background color */
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    overflow: auto; /* Allows scrolling if necessary */
    height: calc(100vh - 120px); /* Adjust height as needed */
    padding: 10px; /* Optional: adds space around the product cards */
    box-sizing: border-box; /* Ensures padding is included in the height calculation */
    z-index: 1050;
    font-size: 0.9rem;
}


.order-summary {
    width: 50%; /* Fixed width for the order summary */
    overflow-y: scroll;
    background: #414040; /* Optional background color */
    padding: 15px;
    margin-left: 15px; /* Optional margin between sections */
    height: 60%; /* Full height minus header and footer */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.overlay-content {
    background: #000;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}
