/* Existing styles */
@media (min-width: 1000px) {
    .container {
        max-width: 98%;
        width: 98%;
    }
    .col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
    .col-md-3 {
        flex: 0 0 25%;
        max-width: unset;
        flex-grow: 1;
    }
}

@media (max-width: 1024px) {
    .body{
        font-size: 8pt !important;
    }
    .nav-pills > li > a {
        font-size: 12px !important; /* Adjust to desired size */
        padding: 5px 10px; /* Adjust padding to ensure good spacing */
    }
    .card-img-top {
        max-height: 80pt !important;
    }
    .side-menu-section h4 {
        font-size: 14px; /* Set a smaller font size */
        margin: 5px 0; /* Adjust margin for better spacing */
    }
    .text-price{
        font-size: 9pt !important;
    }
    .text-grey{
        font-size: 8pt !important;
        min-height: 70px !important;
    }
    .text-grey-2{
        font-size: 7pt !important;
    }
    .text-container{
        margin: 2px !important;
    }
    .form-control{
        font-size: 8pt !important;
        padding: 4px 5px !important;
        width: 105%;
    }
    .square-input{
        max-width: 30px !important;
        height: 30px !important;
        font-size: 8pt !important;
        padding: 2px 2px !important;
    }
    .square-button{
        max-width: 30px !important;
        height: 30px !important;

    }
    .square-button img {
        width: 20px !important;
        height: 20px !important;
        pointer-events: none;
    }
    .card-footer{
        padding: 1px !important;
        gap: 1px !important;
    }
    #side-menu{
        padding: 5px !important;
    }
    .side-menu-product-name{
        font-size: 8pt !important;
    }
    .side-menu-product-price{
        font-size: 7pt !important;
        padding: 0.5px !important;
    }
    .side-menu-button{
        min-width: 15px !important;
    }
    .side-menu-quantity{
        width: 20px !important;
        font-size: 8pt !important;
        padding: 2px 2px !important;
    }
    .card-title{
        font-size: 10px;
    }
}

@media (max-width: 1920px) {
    .form-control {
        font-size: 10pt;
    }
    .form-control{
        font-size: 10pt !important;
        padding: 4px 5px !important;
        width: 110%;
    .card-img-top {
        height: 140px;
     }
    }
}

.sticky-card {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.page-header{
    padding-top: 10px;
    margin: 10px;
    padding-bottom: 10px;
}

.card {
    margin-bottom: 20px;
}

.card-food {
    background-color: #f8f8f8;
}

.card-title {
    height: 4.5em; /* Adjusted height to allow for two lines of text */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Allow wrapping of text */
    margin: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-body {
    flex-grow: 1;
    padding-top: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    background-color: transparent;
    border-top: none;
    gap: 5px;
}


.frequency {
    margin-top: 100; /* Adjust if needed */
}

.card-img-top {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.card-img-top-row {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    background-color: #FFFFF;
    padding: 6px;
}

.bordered-box {
    border: 1px solid #111112;
    padding: 4px;
    text-align: center;
    background-color: #c2c3c4;
}

.text-grey {
    color: #2c2b2b;
    padding-bottom: 35px;
    min-height: 70px;
}

.text-grey-2 {
    color: #2c2b2b;
    padding-bottom: 2px;
}

.text-price {
    margin-bottom: 2px;
    margin-top: 0px;
    font-size: 20px;
    font-weight: bold;
}

text-price{
    margin-top: 1px;
}

button.square-button img {
    width: 35px;
    height: 35px;
}

.col-inp{
    padding-right: 0px;
}

.square-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* Button background */
    border: 2px solid #cccccc; /* Add an outline */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth hover transition */
}

.square-button:hover {
    background-color: #f0f0f0; /* Light gray on hover */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Slightly deeper shadow */
    border-color: #999999; /* Darker border on hover */
}

.square-button:active {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Decrease shadow for pressed effect */
    transform: translateY(2px); /* Create a pressed effect */
}

.square-input {
    width: 40px;
    text-align: center;
    margin-left: 10px; /* Adjust the margin to control spacing */
    font-size: 16px; /* Increase the font size */
    height: 40px; /* Adjust the height to match the button */
}


.side-menu-quantity {
    width: 30px;
    text-align: center;
    padding: 2px;
    border-radius: 20px;
    border: 1px solid #6699ff;
    margin: 2px;
}

.side-menu-button {
    padding: 2px 2px;
    margin: 3px;
    min-width: 25px;
    background-color: #6699ff;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.side-menu-button:hover {
    background-color: #0056b3;
}

.side-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-menu-product-name {
    flex-grow: 1;
    padding-right: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 50%;
}

.side-menu-product-price {
    width: 20%;
    text-align: right;
    padding: 5px;
    font-size: 12px;
}

#side-menu {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    position: sticky;
    top: 10px;
    z-index: 1000;
    max-height: 90vh;
    overflow-y: auto;
}




/* New styles for the top menu */
.nav-pills > li > a {
    background-color: #f7b267;
    color: #fff;
    border: 1px solid #f7b267;
    margin-right: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 5px;
}

.nav-pills > li.active > a,
.nav-pills > li > a:hover {
    background-color: #f58c3c;
    border-color: #f58c3c;
    color: #fff;
}

.nav-pills {
    padding: 10px;
    border: 2px solid #f7b267;
    border-radius: 5px;
    background-color: #ffe6cc;
}

.total-price {
    text-align: right;
    font-weight: bold;
    padding: 10px;
}

#total-price-value {
    font-weight: bold;
}

.side-menu-button {
    padding: 2px 2px;
    margin: 3px;
    min-width: 25px;
    background-color: #6699ff;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}


