/********************** Home Page ******************/
/* Variables */
@font-face {
    font-family: "coText";
    src: url("../fonts/Co_Text_Arabic_Regular.ttf");
}
@font-face {
    font-family: "sadiyah";
    src: url("../fonts/alfont_com_Amiri-Regular.ttf");
}
:root {
    --cardBoxShadow: 0 3px 6px #707070 !important;
    --cardBorderRadius: 15px !important;
    --border: 1px solid #707070;
    --bigRadius: 18px;
    --secondaryColor: #ff3d00;
    --titleColor: #707070;
    --smallRadius: 10px;
    --newFontFamily: "coText";
}

a,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    font-family: var(--newFontFamily) !important;
}

/*****************************************************/
/* ****************** Start Menu *********************/
header {
    background-color: #fcfcfc;
}
/* @media (min-width: 769px) {
    header {
        top: 0;
        padding-bottom: 10px;
    }
    header .row {
        background-color: unset;
        border-radius: var(--bigRadius);
        -webkit-border-radius: var(--bigRadius);
        -moz-border-radius: var(--bigRadius);
        -ms-border-radius: var(--bigRadius);
        -o-border-radius: var(--bigRadius);
    }
    header .row .col {
        padding: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: var(--bigRadius);
        -webkit-border-radius: var(--bigRadius);
        -moz-border-radius: var(--bigRadius);
        -ms-border-radius: var(--bigRadius);
        -o-border-radius: var(--bigRadius);
        box-shadow: 0 3 16px #000;
    }
    header .catering-logo{
        width: auto;
    }
} */

header .row .col {
    /* background-color: #fff; */
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 16px hsl(0deg 0% 0% / 6%);
    /* border-top: 2px solid #ddd; */
}

header .logo {
    height: 110px;
    padding: 8px;
    width: 110px;
    border-radius: var(--bigRadius);
    -webkit-border-radius: var(--bigRadius);
    -moz-border-radius: var(--bigRadius);
    -ms-border-radius: var(--bigRadius);
    -o-border-radius: var(--bigRadius);
    position: fixed;
    top: 15px;
    right: calc(50% - 50px);
}

header .catering-logo {
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 0;
    position: unset;
    background-color: #fff;
    /* width: 100px; */
    height: 80px;
    /* padding: 0 10px 10px; */
    top: 0;
    right: unset;
    /* min-width: 30%; */
    box-shadow: unset !important;
}

a.catering-logo h3 {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--second_color);
    padding: 0 0.5em;
}
header .catering-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

header .custom-btn {
    background-color: unset !important;
    color: #000 !important;
    border-radius: unset;
    -webkit-border-radius: unset;
    -moz-border-radius: unset;
    -ms-border-radius: unset;
    -o-border-radius: unset;
    padding-left: 0;
    padding-right: 0;
    font-size: 1em;
    margin: 20px 15px;
    background: var(--bg_color) !important;
}

header .custom-btn.side {
    color: var(--second_color) !important;
    font-weight: bold;
    border: 1px solid #ddd !important;
    padding: 5px 16px;
    border-radius: var(--smallRadius);
    -webkit-border-radius: var(--smallRadius);
    -moz-border-radius: var(--smallRadius);
    -ms-border-radius: var(--smallRadius);
    -o-border-radius: var(--smallRadius);
}

header .custom-btn.active {
    color: var(--secondaryColor) !important;
    border-bottom: 2px solid var(--secondaryColor);
}
header .custom-btn:focus,
header .custom-btn:hover {
    color: var(--second_color) !important;
    border-bottom: 2px solid var(--secondaryColor);
    background-color: unset;
}
header .custom-btn i {
    /* display: none; */
}
a.custom-btn span {
    background-color: rgb(255 61 0);
}
header {
    position: relative;
}

header .row {
    /* background: unset; */
    border-radius: var(--bigRadius);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    box-shadow: 0 10px 16px rgb(0 0 0 / 6%);
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}

/* @media (min-width: 769px) {
    header .row .col {
        box-shadow: unset;
    }
} */
/* @media only screen and (max-width: 768px) { */
    header .container {
        width: 100%;
        max-width: 100%;
    }
    header .mobile-navbar {
        display: none;
        width: 200px;
        position: absolute;
        left: 30px;
        top: 63px;
        /* background: #fff; */
        box-shadow: var(--cardBoxShadow);
        overflow: hidden;
        border-radius: var(--bigRadius);
        -webkit-border-radius: var(--bigRadius);
        -moz-border-radius: var(--bigRadius);
        -ms-border-radius: var(--bigRadius);
        -o-border-radius: var(--bigRadius);
    }
    .mobile-navbar.active .custom-btn {
        display: block;
        width: 200px;
        border-bottom: 1px solid #ddd;
        margin: 0;
        padding: 15px;
        text-align: start;
        font-weight: 500;
    }
    header .custom-btn.active {
        background-color: var(--secondaryColor) !important;
        color: #fff !important;
    }
    header .custom-btn:focus,
    header .custom-btn:hover {
        background-color: var(--main_color) !important;
        color: #fff;
    }
    header .custom-btn i {
        display: inline-block;
        color: var(--second_color);
    }

    header .custom-btn.active i {
        display: inline-block;
        color: #fff;
    }

    header ul {
        display: block !important;
        float: left;
        padding: 20px;
        margin: 20px 15px;
    }
    header ul {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: var(--smallRadius);
        -webkit-border-radius: var(--smallRadius);
        -moz-border-radius: var(--smallRadius);
        -ms-border-radius: var(--smallRadius);
        -o-border-radius: var(--smallRadius);
    }
    header ul i {
        color: #dc3545 !important;
        font-size: 27px;
    }

    header .custom-btn.side {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
        height: 35px;
        color: var(--second_color) !important;
        line-height: 20px;
    }
    header .custom-btn.side:focus,
    header .custom-btn.side:focus i.fa-shopping-cart,
    header .custom-btn.side:hover,
    header .custom-btn.side:hover i.fa-shopping-cart {
        color: #fff !important;
        border-color: var(--main_color) !important;
    }

    header .logo {
        height: 95px;
        width: 100px;
        left: unset;
        transform: unset;
        padding: 8px;
        border-radius: unset;
        top: unset;
        box-shadow: unset !important;
    }
/* } */
/* @media only screen and (max-width: 576px) { */
    .mobile ul {
        padding: 8px;
        order: 1;
        flex: 1;
    }
    .mobile ul li i {
        font-size: 18px;
    }
    .side-btns {
        order: 0;
        width: 80%;
    }
    .side-btns .side {
        padding: 10px 15px !important;
        line-height: 20px;
        font-size: 1em;
        height: 40px;
        margin: 20px 5px;
    }
    header .logo {
        height: 80px !important;
        width: 80px !important;
    }
    a.catering-logo h3 {
        display: none;
    }
    header a.shoppingCart p {
        display: block;
        font-size: 12px;
        margin-left: 6px;
    }
    header .custom-btn {
        width: 40px;
        overflow: hidden;
        height: 40px !important;
        line-height: 25px;
        border-radius: 50%;
    }
    a.custom-btn span {
        right: -10%;
    }

    a.custom-btn.shoppingCart.side {
    }
/* } */

.emptyCart {
    text-align: start;
}
/* @media only screen and (max-width: 400px) { */
    .mobile ul {
        padding: 8px;
        order: 1;
        flex: 1;
    }
    .mobile ul li i {
        font-size: 18px;
    }
    .side-btns {
        order: 0;
        width: 80%;
    }
    .side-btns .side {
        padding: 10px 15px !important;
        line-height: 20px;
        font-size: 1em;
        height: 40px;
        margin: 20px 5px;
    }
    header .logo {
        height: 80px !important;
        width: 80px !important;
    }
    a.catering-logo {
        width: 25%;
    }
    a.catering-logo img {
        width: 65px;

        height: 65px;
    }
    a.catering-logo h3 {
        display: none;
    }
    header a.shoppingCart p {
        /* display: none; */
    }
/* } */
@media only screen and (max-width: 340px) {
    a.custom-btn.shoppingCart.side {
        margin-right: 2px;
        margin-left: 2px;
        padding: 7px;
    }
}

/* ********************** end header *******************/
/*******************************************************/

/* ********************* start banner ******************/
/*******************************************************/

.home-banner {
    padding: 0;
    margin-top: 160px;
    height: 200px;
}

.home-banner .main-section {
    border-radius: var(--bigRadius);
    -webkit-border-radius: var(--bigRadius);
    -moz-border-radius: var(--bigRadius);
    -ms-border-radius: var(--bigRadius);
    -o-border-radius: var(--bigRadius);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
/* @media only screen and (max-width: 768px) { */
    .home-banner {
        margin-top: 120px;
        max-width: 100%;
    }

    .home-banner .main-section {
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
    }
/* } */

/* ********************* start home   ******************/
/*******************************************************/
/* @media only screen and (min-width: 769px) {
    .tabs.nav-pills .nav-link:hover {
        background-color: var(--second_color);
        color: #fbfbfb;
    }

    .nextTab {
        display: none;
    }
} */

.tabs .tabs-title {
    background-color: #efefef;
    border-radius: 16px 16px 0 0;
}

.tabs.nav-pills .nav-link.active,
.tabs.nav-pills .show > .nav-link {
    background-color: var(--main_color);
    color: var(--bg_color);
    /* border-radius: 10px; */
    /* height: 36px; */
    /* line-height: 36px; */
}
@media (min-width: 769px) {
    .tab-content {
        margin-top: 15px;
        overflow: auto;
        height: calc(100vh - 200px);
    }

}
/* @media (max-width: 768px) {
    .tab-content {
        margin-top: 15px;
        overflow: auto;
        height: calc(100vh - 50px);
    }
} */
.tab-content::-webkit-scrollbar {
    display: none;
}
.tab-content {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.tab-content .tab-pane:last-child {
    display: block;
    min-height: calc(100vh - 200px);
}

.categ-tab-name {
    /* display: none; */
    background: unset !important;
    border-radius: 15px;
    text-align: center;
    z-index: 0;
    position: unset;
    font-size: 20px;
    border: none !important;
    text-shadow: 3px 4px 7px rgb(161, 159, 157);
}

/* @media only screen and (max-width: 768px) { */
  .categ-tab-name .text-bg {
      position: relative;
      padding: 0;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
  }

  .categ-tab-name .text-bg::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background:
        radial-gradient(
          ellipse at 50% 50%,
          color-mix(in srgb, var(--bg_color) 75%, transparent) 0%,
          color-mix(in srgb, var(--bg_color) 45%, transparent) 30%,
          color-mix(in srgb, var(--bg_color) 0%, transparent) 70%
        );
      transition: background 0.2s ease;
  }

  .categ-tab-name .text-bg span {
      position: relative;
      z-index: 2;
      transform: none;
      left: auto;
      top: auto;
  }
/* } */


.meal img {
    position: unset;
    right: unset;
    width: 100px;
    height: 100px;
    max-width: unset;
    margin-left: 0px;
    overflow: hidden;
    border-radius: 5px;
    padding: 0;
    object-fit: cover;
}

.meal-cont {
    display: flex !important;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    text-align: start;
    padding: 5px;
}

.meal-cont p {
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    /* number of lines to show */
    /* -webkit-box-orient: vertical; */
    cursor: pointer;
}

.m-meal-description p {
    /* overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box; */
    /* -webkit-line-clamp: 1; */
    /* number of lines to show */
    /* -webkit-box-orient: vertical;
    cursor: pointer; */
}

/* .m-meal-description p.unset {
    -webkit-line-clamp: unset;
} */

.meal .meal-cont span {
    background-color: unset;
    margin: 0;
}

.meal .meal-cont span.calories {
    background-color: #ddd;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.meal .meal-cont h3 {
    color: var(--secondaryColor);
    font-weight: 600;
}
.meal span strong {
    color: var(--secondaryColor);
}

.meal .meal-cont span i {
    color: var(--secondaryColor);
    font-size: 1.8em;
    margin: 10px 10px 0;
    padding: 10px;
    border: 1px solid #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 3px 16px rgb(0 0 0 / 16%);
}
.meal-bottom {
    display: none;
}

ul#pills-tab li {
    text-align: start;
}
/* @media only screen and (min-width: 768px) {
    .meal-cont .meal-text {
        flex: 5;
    }
} */
/* @media only screen and (max-width: 768px) { */
    .page-head {
        display: block;
        z-index: 1;
        width: 100%;
        background: #fcfcfc;
    }
    .tabs {
        display: flex;
        background: transparent;
        width: auto;
        overflow-x: scroll;
        border-radius: 10px;
        position: unset;
        /* box-shadow: unset !important; */
        flex-wrap: nowrap;
        height: 40px;
        align-items: center;
        top: 110px;
        right: 15px !important;
        left: 15px;
        z-index: 1;
    }

    ul#pills-tab li {
        /* min-width: 40%; */
        margin: 2px;
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;
    }

    ul#pills-tab li {
        height: 40px;
    }

    .tabs-title li {
        min-width: auto !important;
        display: inline-block !important;
    }
    ul#pills-tab li:nth-child(2) {
        /* margin-right: 120px; */
    }

    .tabs-title li i {
        margin-right: 5px;
        margin-left: 5px;
    }
    /* Hide scrollbar for Chrome, Safari and Opera */
    .tabs::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .tabs {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .tabs-title {
        display: none !important;
        align-items: center;
        height: 40px;
        position: fixed;
        background: #ddd;
        z-index: 10;
        border-radius: 0 15px 15px 0 !important;
    }

    .tabs-title li {
        line-height: 40px;
    }
    .menu-button {
        display: none;
    }
    .nav-pills .nav-link {
        border: 1px solid var(--main_color);
        border-radius: .25rem;
        line-height: 38px;
        padding: 0 20px;
        display: block;
        white-space: nowrap;
        font-size: 14px;
    }
    .nav-pills .nav-link span {
        display: none;
    }
    .nextTab {
        width: 150px;
    }
/* } */
/* @media only screen and (max-width: 576px) { */
    .nextTab {
        width: 50px;
    }
    .tab-content {
        margin-top: 10px;
    }
    .meal {
        max-width: unset;
    }
    .meal .meal-cont span {
        display: none;
    }
    /* .meal-cont {
        display: flex !important;
        justify-content: flex-end;
        width: 100%;
        flex-direction: column;
        align-items: end;
    } */
    .meal-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
    .meal-bottom span {
        font-size: 12px !important;
        font-weight: 700;
        width: 33%;
        margin: 0 !important;
    }

.meal-bottom span.priceSpan {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}
    .meal-bottom span:only-child {
    margin-inline-start: auto !important;
    position: relative;
    left: unset;
    transform: unset;
    }
    span.calories.res-custom {
        font-size: 12px;
        color: #000;
        background-color: unset;
        padding: 0;
        /* margin: 2px auto; */
        display: inline-block;
        border-radius: 3px;
        position: unset;
    }
    .cart-span {
        color: var(--second_color);
        width: 20% !important;
        border-radius: 8px;
        justify-content: space-around;
        align-items: center;
        font-size: 14px !important;
        border-color: #ececec !important;
        box-shadow: 0 1px 1px #ddd;
    }
    ul#pills-tab li {
        /* min-width: 50%; */
        /* text-align: start; */
    }

    /* .tabs-title li {
    min-width: 10% !important;
} */
/* } */
/* @media only screen and (max-width: 400px) { */
    ul#pills-tab li {
        /* min-width: 60%; */
    }
/* } */
.m-meal-content {
    background-color: #fff;
    position: relative;
    border-radius: 15px;
    max-height: 82vh;
}

.modal-dialog.m-meal-dialog {
}
/* Hide scrollbar for Chrome, Safari and Opera */
/* .scroll-body::-webkit-scrollbar {
    display: none;
} */

/* Hide scrollbar for IE, Edge and Firefox */
.scroll-body {
    max-height: 300px;
    overflow-y: auto;
    /* -ms-overflow-style: none;
    scrollbar-width: none; Firefox */
}

.modal-body,
.modal-content {
    padding: 0 !important;
}

.m-meal-content.m-options-content .m-meal {
    display: flex;
    align-items: flex-start;
}

.m-meal-body.m-meal .meal-desc {
    padding: 10px;
    text-align: start;
}

.order-sum {
    text-align: start;
}

.m-extras,
.m-types {
    padding: 10px 15px 40px;
    text-align: start;
}

.m-extras h6,
.m-types h6 {
    padding: 15px;
    background-color: #ddd;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    text-align: start;
}

.meal-desc .m-meal-title h6 {
    font-size: 1.6em;
    font-weight: 500;
}

.meal-desc .m-meal-description p {
    font-size: 14px;
    color: gray;
}

.m-meal-body.m-meal .meal-img {
    border-radius: 10px;
    overflow: hidden;
    min-height: auto;
    height: auto;
    width: 100%;
    /* max-height: 300px; */
    max-width: 300px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.m-meal-body.m-meal .meal-img{
    max-height: 420px;
}
@media(max-width: 600px){
    .m-meal-body.m-meal .meal-img{
        max-height: 100vw;
    }
 }
.meal-flags{
    width: 100%;
    padding: 5px;
    position: absolute;
    /* height: 50px;
    width: 50px; */
    left: 0;
    top: 0;
    /* right: 50%; */
    /* transform: translate(50%); */
    text-align: center;
    z-index: 1;
    display: flex;
    justify-content: end;
}
.meal-flags span{
    /* border: 1px solid; */
    /* padding: 3px 10px; */
    /* border-radius: 0 0 10px 10px; */
    display: flex;
    font-size: .7em;
    justify-content: center;
    align-items: center;
    height: 28px;
    width: 28px;
    background: url("../images/lable.webp");
    background-size: 100% 100%;
    color: #fff;
}
.meal-flags span img{
    height: 20px;
    width: 20px;
    display: block;
    margin: auto;
}
/* @media (max-width: 600px){ */
    .meal-flags span {
        /* border: 1px solid; */
        /* padding: 3px 6px; */
        /* border-radius: 0 0 6px 6px; */
        display: flex;
        font-size: .7em;
        /* color: var(--main_color); */
        height: 28px;
        width: 28px;
    }

.meal-flags {
    /* transform: translate(50%, -5px); */
}
.meal-flags span img{
    height: 24px;
    width: 24px;
}
/* } */
.m-meal-body.m-meal img {
    display: block;
    width: 270px;
    height: auto;
    padding-left: 0;
    border-radius: 20px;
    object-fit: cover;
}

.m-meal-body.m-meal picture {
    width: 250px;
    /* height: 250px; */
    min-width: auto;
}

.m-meal-body.m-meal .m-header {
    position: absolute;
    padding: 0 5px 5px;
    line-height: 14px;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    top: 0px;
    background: #ddd;
    left: 3%;
    z-index: 9;
}
ul.unstyled .styled-chkbox:checked + label::before,
ul.unstyled .styled-radio:checked + label::before {
    background: #fe3a00;
}
ul.unstyled .styled-radio + label::before {
    content: "";
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border: 1px solid var(--secondaryColor);
    border-radius: 50%;
    background: white;
    transition: background 0.3s ease;
}

/* ul.unstyled .styled-chkbox:checked + label::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 15px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px white,
        4px -6px 0 white, 4px -8px white;
    transform: rotate(45deg);
} */
ul.unstyled .styled-chkbox + label::before {
    content: "";
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border: 1px solid var(--secondaryColor);
    border-radius: 5px;
    background: white;
    transition: background 0.3s ease;
    text-align: center;
    line-height: 10px;
}
.addToCartBtns {
    padding: 0 !important;
}
.count-btns {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 8px;
    height: 54px;
}

.count-btns .btn {
    padding: 0;
}
.cart-quantity i,
.order-count i {
    font-size: 16px;
    margin: 0 10px;
}
.cart-quantity i:first-child,
.order-count i:first-child {
    color: rgb(120 109 69);
}
.cart-quantity i:last-child,
.order-count i:last-child {
    color: rgb(120 109 69);
}
.cart-quantity p,
.order-count p {
    margin: 0 5px 5px;
    font-size: 26px;
    color: var(--second_color);
    font-weight: 500;
}
.order-count .add-to-cart {
    background-color: #fe3a00;
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    height: 54px;
    width: 100px;
    margin-right: 5%;
}

.order-sum p {
    color: #707070;
}
.order-sum p span {
    color: var(--secondaryColor);
}

ul.unstyled.centered {
    display: block;
    padding: 0 5px;
}
.m-options-content label {
    display: inline-block;
}

/* ul.unstyled .styled-chkbox:checked + label::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 12px;
    background: white;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px white,
        4px -6px 0 white, 4px -8px white;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
} */
.price-label {
    float: left;
    color: #707070;
    font-size: 0.9em;
}

.price-label strong {
    color: var(--secondaryColor);
    margin-left: 5px;
    margin-right: 5px;
}

#choose-branch .modal-content.m-meal-content.m-options-content .modal-body {
    padding: 10px !important;
    display: block;
}
.m-meal-price {
    color: var(--second_color);
}
/* @media only screen and (max-width: 768px) { */
    body {
        overflow: hidden !important;
    }
    .m-meal-body.m-meal .meal-img {
        width: 100%;
        border-radius: 15px 0 0 15px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        overflow: hidden;
        min-height: 200px;
        height: auto;
        max-width: 100%;
    }

    .m-meal-body.m-meal img {
        padding: 0;
        width: 100%;
        border-radius: 10px 10px 0 0;
    }

    .m-meal-body.m-meal picture {
        min-width: 100%;
    }

    .meal-desc {
        background: #fff;
        width: 100%;
        border-radius: 10px;
        display: flex;
        flex-wrap: wrap;
        min-height: 90px;
        box-shadow: 0 3px 6px #ddd;
        margin-top: -45px;
    }

    .meal-desc .m-meal-title {
        display: flex;
        width: 50%;
        border-left: 1px solid #ddd;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .meal-desc .m-meal-price {
        display: flex;
        width: 50%;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

.meal-desc .m-meal-price {
    display: flex;
    width: 50%;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: var(--main_color);
}

    .m-meal-title h6 {
        font-size: 1em !important;
        margin: 0;
    }

    .meal-desc .order-sum {
        order: 2;
        display: flex;
        width: 50%;
        margin-top: 10px;
        justify-content: center;
        align-items: center;
    }

    .meal-desc .order-sum p {
        font-size: 0.8em;
        margin: 0;
    }

    .meal-desc .order-count {
        display: none;
    }

    .meal-desc .m-meal-description {
        order: 3;
        display: block;
        width: 100%;
    }

    .m-meal-description p {
        width: 100%;
        text-align: center;
        margin: 0.75rem 0 0;
        font-size: 0.8em !important;
        font-weight: 400;
    }

    .order-count.mobile {
        display: flex !important;
        justify-content: center;
        border-bottom: none;
        border-top: 1px solid var(--main_color);
        border-radius: 0;
        width: 100%;
        padding: 10px 0 0;
    }
/* } */
/* @media only screen and (max-width: 576px) { */
    .meal-img {
        padding-bottom: 10px;
        min-height: 110px;
        display: flex;
        align-items: center;

    }
    .meal-img.web {
        margin-top: 2px;
        overflow: visible;
    }
    .modal-dialog.m-meal-dialog {
        height: 100vh;
        width: 100%;
        margin: 0;
    }

    .modal-content {
        height: 100vh;
        margin: 0 !important;
        max-height: unset;
        width: 100vw;
    }
    .modal-content.m-meal-content.m-options-content, .modal-dialog.m-meal-dialog{
        max-height: 100% !important;
    }
    #choose-branch {
        height: 200px;
        width: 96%;
        bottom: 50%;
        transform: translate(0%, 50%);
        right: 3%;
    }

    #choose-branch .modal-dialog {
        margin: 0;
        height: 100%;
    }

    #choose-branch .modal-content.m-meal-content.m-options-content {
        padding: 10px;
    }

    .scroll-body {
        /* height: 70vh; */
        max-height: unset;
        /* margin-bottom: 60px; */
        width: 100%;
    }

    .order-count.mobile {
        /* position: fixed; */
        bottom: 0;
        /* background: #fff; */
        width: 100%;
        /* box-shadow: 1px 3px 5px #ddd; */
        /* margin-bottom: 20px; */
        padding: 10px 0 0;
        align-items: center;
        justify-content: space-evenly;
        border-radius: unset;
        border-color: var(--main_color);
    }

.order-count.mobile .count-btns {
    height: 45px;
    padding: 4px;
}

.count-btns i {
    font-size: 18px !important;
}

    .order-count.mobile .add-to-cart {
        width: 100%;
        padding: 5px;
        font-size: 0.9em;
        height: 45px;
    }

    .m-header {
        z-index: 10;
    }

    .m-meal-title h6 {
        font-size: 0.9em !important;
    }

    .meal-desc .order-sum {
        margin-top: 5px;
    }

    .m-types textarea {
        margin-bottom: 60px;
    }

    .order-sum p {
        font-size: 0.9em;
    }

    .meal-desc .order-count {
        display: none;
    }

    .meal-desc .m-meal-description {
        width: 100%;
    }

    .m-meal-description p {
        font-size: 0.9em !important;
    }
    .addToCartBtns {
        width: 50%;
    }
/* } */
/* @media only screen and (max-width: 400px) { */
    .price-range {
        font-size: 1em;
    }
/* } */

/*******************************************************/
/*******************  Cart  ****************************/

.cart-header,
.payment-header {
    padding-top: 30px;
    display: inline-block;
    padding: 10px 20px !important;
    margin: 50px 0 20px;
    border: 1px solid #ddd;
    background: #efebeb;
    border-radius: 8px;
}
.cart-card {
    padding: 15px;
    border-radius: var(--bigRadius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-img img {
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    height: 190px;
    width: 190px;
}
.cart-content {
    margin-right: 10px;
    flex: 3;
}

.cart-card .first-part {
    align-items: flex-start !important;
}

.cart-card .first-part h4 {
    margin-top: 20px;
}
.combo-flag {
    display: inline-block;
    border: 1px solid var(--main_color); /* use your main theme color */
    color: #fff; /* white text */
    font-size: 0.75rem; /* small clean font */
    font-weight: 600;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 12px; /* pill/rounded shape */
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

.cart-header h4 a,
.payment-header h4 a {
    color: gray;
    margin-left: 10px;
}

.cart-header h4 i,
.payment-header h4 i {
    color: gray;
    margin: 0;
}

.cart-header h4,
.payment-header h4 {
    font-size: 1rem;
}
.item-delete {
    position: unset;
    text-align: center;
    color: gray;
    border: 1px solid #ddd;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 15px;
}

.item-delete i {
    color: gray;
    margin-left: 5px;
}

.cart-count {
    display: flex;
}

.cart-content h5 {
    margin-top: 0;
    font-size: 1em;
    font-weight: 700;
}
/* @media (min-width: 577px) {
    .cart-count {
        flex-direction: column;
        align-items: flex-end;
    }

    .cart-count .cart-quantity,
    .item-delete {
        width: 120px;
    }
} */
.cart-quantity,
.order-count {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 5px 0;
    margin-top: 10px;
    margin-bottom: 10px;
    /* border: 1px solid #ddd; */
    border-radius: 15px;
}

.order-count.mobile .addToCartBtns {
    width: 50%;
    margin-right: 10px;
}

.order-count.mobile .addToCartBtns .btn {
    width: 100%;
}
.cart-total-info {
    background-color: #fff;
    padding: 20px 10px;
    border-radius: 15px;
    text-align: center;
    margin: 0;
    border: 1px solid #ddd;
}
.cart-actionBtns {
    margin: 20px 0 0;
}
.cart-actionBtns .payNow {
    display: block;
    text-align: center;
    width: 100%;
    background: var(--secondaryColor);
    padding: 10px;
    color: #fff;
    border-radius: 15px;
}
.cart-total-info h5.cart-total,
.cart-total-info p.cart-total {
    color: gray;
    font-size: 1em;
}
h5.cart-total span,
p.cart-total span {
    color: var(--secondaryColor);
    /* margin-left: 10px; */
    margin-right: 10%;
}
/* @media only screen and (min-width: 769px) {
    .tabs {
        top: 150px !important;
        border: 1px solid #efefef;
        border-radius: 0 16px 16px 0;
    }
} */
/* @media only screen and (max-width: 769px) { */
    h5.cart-total span,
    p.cart-total span {
        margin-right: 20%;
    }
/* } */
/* @media only screen and (max-width: 576px) { */
    .first-part {
        align-items: center;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 5px;
    }

    .cart-card {
        padding: 10px;
    }
    .cart-img img {
        height: 100px;
        width: 120px;
    }
    .cart-content h4 {
        font-size: 1em;
        margin-bottom: 5px;
    }
    .cart-content p {
        font-size: 0.8em;
    }
    .cart-content {
        min-height: unset;
        margin-bottom: 10px;
    }
    .cart-header {
        margin-top: 20px;
        padding: 5px 30px !important;
    }

    .payment-header {
        padding: 5px 15px !important;
    }
    .cart-header h4,
    .payment-header h4 {
        font-size: 0.9em;
        margin: 0;
        padding: 5px;
    }

    .cart-header h4,
    .payment-header h4 a {
        margin: 0;
    }
    .cart-count,
    .order-count {
        border-top: 1px solid #ddd;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        padding-top: 10px;
    }

    .cart-count h5 {
        font-size: 13px !important;
        margin: 0;
    }

    .cart-quantity {
        margin: 0;
        height: 35px;
        border-radius: 8px;
    }

    .cart-quantity p {
        font-size: 14px !important;
    }

    .cart-quantity .btn {
        padding: 0;
    }

    .cart-quantity .btn i {
        font-size: 12px;
    }
    .item-delete {
        padding: 5px 10px;
        font-size: 0.8em;
        height: 35px;
        border-radius: 8px;
    }

    .item-delete i {
        font-size: 0.8em;
    }
/* } */

/* ************************************************* */
/* **************** payment Part ******************* */

.personal-info label {
    font-weight: 400;
    color: #5a5a5a;
}
.personal-info input,
.personal-info select {
    background: #efeeee;
    border-radius: 8px;
    padding: 5px 15px;
    height: unset;
    line-height: 35px;
}
.personal-info select {
    padding: 12px 15px;
}
input#phone ~ p.label-text {
    position: absolute;
    top: 62%;
    left: 7%;
    transform: translate(0, -50%);
    margin: 0;
    color: #a9a9a9;
    font-size: 1em;
    font-weight: 500;
}

input#phone.error ~ p.label-text {
    top: 45%;
}
input#phone.error:placeholder-shown ~ p.label-text {
    top: 62%;
}

#onlinePaymentdiv {
    box-shadow: 0 3px 16px rgb(0 0 0 / 16%);
    margin: 20px 0;
}

#onlinePaymentdiv,
#onlinePaymentdiv iframe {
    border-radius: 20px !important;
}

.payment-form h6 {
    color: #5a5a5a;
}

.tab-devider {
    height: 0;
}
/* @media only screen and (max-width: 768px) { */
    .tab-devider {
        height: 1px;
    }
/* } */
/* @media only screen and (max-width: 576px) { */
    .tabs {
        top: 110px;
    }
    .personal-info input,
    .personal-info select {
        border-radius: 15px;
        padding: 12px 15px;
        line-height: unset;
    }
    .modal-open .modal {
        overflow-x: hidden;
        overflow-y: clip;
    }
    .price-label {
        font-size: 0.8em;
        margin-top: 5px;
    }

    .tab-devider {
        height: 1px;
    }
/* } */
@media only screen and (max-width: 285px) {
    header a.shoppingCart p {
        font-size: 0.7em;
    }
}
div.allergen-container img{
    width: 20px !important;
    height: 20px !important;
    margin: 2px !important;
}

div.allergen-container span {
    display: none !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #717070 !important;
    color: #fff !important;
    max-width: 135px !important;
    font-size: .7em !important;
    padding: 2px !important;
  }

  div.allergen-container:hover span {
    display: inline-block !important;
  }

  .loader .welcomeMsg{
    top: 100px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 40px;
    position: absolute;
    text-align: center;
  }

  .loader p {
    text-transform: uppercase;
    /* letter-spacing: 0.5em; */
    display: inline-block;
    /* border: 4px double rgba(255, 255, 255, 0.25); */
    border-width: 4px 0;
    padding: 1.5em 0em;
    position: absolute;
    top: 30%;
    left: 50%;
    width: 40em;
    margin: 0 0 0 -20em;
    text-align: center;
  }
  .loader p span {
    font: 700 4em/1 "Oswald", sans-serif;
    letter-spacing: 0;
    padding: 0.25em 0 0.325em;
    display: block;
    margin: 0 auto;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.5);
    /* Clip Background Image */
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    /* Animate Background Image */
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 80s linear infinite;
    /* Activate hardware acceleration for smoother animations */
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
  }

  /* Animate Background Image */
  @-webkit-keyframes aitf {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }

.page-content {
    background: var(--bg_color);
    /* min-height: calc(100vh - 40px); */
    background-size: contain !important;
}
/* @media only screen and (max-width: 768px){ */
    .pills-scrolled{
        top: 0px !important;
        right: 0px;
        background: #fff;
        padding: 20px;
        height: 80px;
        width: 100%;
        right: 0 !important;
        border-radius: unset;
        border-bottom: 1px solid #ddd;
        z-index: 10;
        box-shadow: 1px 1px 1px #000;
    }
/* } */

html:has(> body.modal-open){
    overflow: hidden; /* Prevent scrolling on the html */
}

/* @media(min-width: 600px){
    .cardClone{
        transform: translate(50%);
    }
} */
/* fallback */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v143/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
    /* ===== Pill Chip – Arabic «جديد» ===== */
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-regular-400.eot);src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-regular-400.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-regular-400.woff) format("woff"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-regular-400.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-regular-400.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-solid-900.eot);src:url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-solid-900.woff2) format("woff2"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-solid-900.woff) format("woff"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-solid-900.ttf) format("truetype"),url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}
.fa,.far,.fas {
    font-family: "Font Awesome 5 Free"
}
.fa,.fas {
    font-weight: 900
}
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}
.fa-star:before {
    content: "\f005";
}
.fa-leaf:before {
    content: "\f06c";
}
.fa-thumbs-up:before {
    content: "\f164";
}
.pill-chip{
    /* position:absolute; top:8px; right:8px; */
    display:inline-flex;
    align-items:center;
    gap:4px;
    height:28px !important;
    width:28px !important;
    border-radius:50% !important;
    background: var(--btn-bg) !important;
    color: var(--title-text) !important;
    /* <<<  use Arabic Typesetting >>> */
    font:700 11px/1 "Arabic Typesetting","Tajawal","Amiri",serif !important;
    box-shadow:0 2px 4px rgba(0,0,0,.2);
    white-space:nowrap;
    margin: 0 3px;
    justify-content: center;
}
.meal-flags i{
    color: var(--title-text) !important;
}
.pill-chip .material-icons{
    font-size: 18px;
    line-height: 1;
    color: var(--title-text) !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}
.meal .meal-cont h3{
    display: flex;
    align-items: center;
    /* margin-bottom: 0 !important; */
}
.meal .meal-cont h3 .meal-name-text{
    background: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.meal .meal-cont h3 .new-text,
.meal .meal-cont h3 .recommended-text{
    display: inline-block;
    width: auto;
    background: unset;
    color: var(--title-text);
    padding: 0;
    font-size: .8em;
    font-weight: 500;
}
.pill-chip.new,
.pill-chip.recommended{
    border-radius:16px !important;
    width: auto !important;
    padding: 0 8px !important;
    display: flex !important;
    margin: 0 3px !important;
    height: 24px !important;
    font-size: 14px !important;
}
.pill-chip i{
    font-size: 16px !important;
}

/* Seasonal Ribbon */
.seasonal-ribbon {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 10;
    overflow: visible;
    width: 80px;
    height: 80px;
    text-align: right;
}

.seasonal-ribbon span {
    font-size: 8px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 16px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 70px;
    display: block;
    background: var(--main_color);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 12px;
    right: -15px;
}

.seasonal-ribbon span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    z-index: -1;
    border-left: 2px solid #8b4513;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-top: 2px solid #8b4513;
}

.seasonal-ribbon span::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    z-index: -1;
    border-left: 2px solid transparent;
    border-right: 2px solid #8b4513;
    border-bottom: 2px solid transparent;
    border-top: 2px solid #8b4513;
}

/* ===== Tablet-specific Menu Design ===== */
@media (min-width: 768px) and (max-width: 1440px) {
    /* Hide meal flags on tablet */
    .pill-chip.recommended,
    .pill-chip.new {
        /* display: none !important; */
        margin: 2px;
    }

    /* Hide shopping cart on tablet */
    .shoppingCart {
        display: none !important;
    }
}

/********************** Home Page ******************/
/* Variables */
@font-face {
    font-family: "coText";
    src: url("../fonts/Co_Text_Arabic_Regular.ttf");
}
@font-face {
    font-family: "sadiyah";
    src: url("../fonts/alfont_com_Amiri-Regular.ttf");
}
:root {
    --cardBoxShadow: 0 3px 6px #707070 !important;
    --cardBorderRadius: 15px !important;
    --border: 1px solid #707070;
    --bigRadius: 18px;
    --secondaryColor: #ff3d00;
    --titleColor: #707070;
    --smallRadius: 10px;
    --newFontFamily: "coText";
}

a,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    font-family: var(--newFontFamily) !important;
}


/* Seasonal Ribbon */
.seasonal-ribbon {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 10;
    overflow: visible;
    width: 80px;
    height: 80px;
    text-align: right;
}

.seasonal-ribbon span {
    font-size: 8px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 16px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 70px;
    display: block;
    background: var(--main_color);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 13px;
    right: -14px;
}

.seasonal-ribbon span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    z-index: -1;
    border-left: 2px solid #8b4513;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-top: 2px solid #8b4513;
}

.seasonal-ribbon span::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    z-index: -1;
    border-left: 2px solid transparent;
    border-right: 2px solid #8b4513;
    border-bottom: 2px solid transparent;
    border-top: 2px solid #8b4513;
}

/* ===== Tablet-specific Menu Design (Outside navbar) ===== */
@media (min-width: 768px) and (max-width: 1440px) {
    /* Fixed navbar on tablet */
    #navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .menu-container {
        display: flex;
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
        margin-top: 80px;
    }

    /* Hide restaurant image on tablet */
    .restaurant-image-col {
        display: none !important;
    }

    /* Override Bootstrap classes for tablet layout */
    .main-content-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Tablet layout structure */
    #menu-row {
        display: flex;
        height: 100%;
        margin: 0;
    }

    /* Category sidebar - create a virtual sidebar */
    .menu-nav {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        height: 100vh;
        padding: 20px 10px;
        overflow-y: auto;
        background: #f8f9fa;
        border-right: 2px solid var(--main_color, #333);
        position: relative !important;
        left: auto !important;
        z-index: 10;
    }

    /* Meal content area - adjust for full width */
    .meal-content-area {
        flex: 0 0 75% !important;
        max-width: 75% !important;
        height: 90vh;
        overflow-y: auto;
        padding: 20px;
        margin-left: 0;
    }

    /* Override the Bootstrap container to work with our layout */
    .main-content-col .container {
        display: flex;
        height: 100vh;
        padding: 0;
        margin: 0;
    }

    .tabs {
        flex-direction: column;
        width: 100%;
        border-radius: 0;
        background: transparent;
        height: 100%;
        border-radius: 8px !important;
    }

    .tabs-title {
        display: none;
    }

    .tabs li{
        width: 100% !important;
        flex: unset !important;
        margin: 0 !important;
    }

    .tabs .nav-link {
        width: 100%;
        margin-bottom: 0px;
        border-radius: 0px;
        /* padding: 15px 20px; */
        text-align: center;
        border: 1px solid var(--main_color, #333);
        background: transparent;
        transition: all 0.3s ease;
    }

    .tabs .nav-link:hover,
    .tabs .nav-link.active {
        background: var(--main_color, #333);
        color: var(--second_color, #fff);
        /* transform: translateX(5px); */
    }

    /* Vertical layout for tab panes */
    .tab-content {
        display: block;
        padding: 0;
        height: auto !important;
        overflow: visible !important;
        margin-top: 0 !important;
    }

    .tab-pane {
        display: block;
        margin-bottom: 30px;
    }

    /* Grid layout for meals within each tab pane - Medium tablets: 3 meals per row */
    .meal-content-area .meal {
        display: inline-block;
        width: calc(33.333% - 15px);
        margin-right: 0px;
        margin-bottom: 15px;
        vertical-align: top;
    }

    .meal-content-area .meal:nth-child(3n) {
        margin-right: 0;
    }

    .meal-content-area .meal:nth-child(4n) {
        margin-right: 15px;
    }

    /* New meal card design */
    .meal {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
        margin: 0;
        position: relative;
        margin-bottom: 8px;
    }

    .meal:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .meal-content {
        flex-direction: column;
        padding: 0;
    }

    .meal-img {
        width: 100%;
        height: 200px;
        margin: 0;
        border-radius: 0;
        padding-bottom: 0;
    }

    .meal-img picture {
        width: 100%;
        height: 100%;
        background: #fff;
    }

    .meal-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .meal-cont {
        padding: 2px;
        text-align: center;
        height: 60px;
    }

    .meal-cont h3 {
        font-size: 16px;
        margin-bottom: 8px;
        color: var(--main_color, #333);
        line-height: 1.3;
        margin-top: 0 !important;
        /* font-size: 12px !important; */
    }

    .meal-cont p {
        font-size: 13px;
        color: #666;
        margin-bottom: 10px;
        line-height: 1.4;
        display: none;
    }

    .meal-bottom {
        padding: 8px !important;
        border-top: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8f9fa;
    }

    .meal-bottom span:first-child {
        font-weight: bold;
        color: var(--main_color, #333);
        font-size: 14px !important;
        width: auto;
    }

.meal-bottom .priceSpan {
    left: unset !important;
    transform: none !important;
    width: auto !important;
    position: relative !important;
    display: flex;
    align-items: center;
    gap: 3px;
}

span.priceSpan svg {
    width: 14px !important;
}

    .cart-span {
        background: var(--main_color, #333);
        color: white;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 12px;
        transition: all 0.3s ease;
    }

    .cart-span:hover {
        background: var(--second_color, #555);
    }

    /* Hide category headers in tablet view */
    .categ-tab-name {
        /* display: none; */
    }

    /* Meal flags positioning */
    .meal-flags {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
    }

    /* Calories styling */
    .calories {
        background: var(--main_color, #333);
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 11px;
        margin-top: 5px;
        display: inline-block;
    }

    /* Allergens styling */
    .allergen-container {
        margin: 2px;
        display: none;
    }

    /* Hide cart-span (add button) on tablet */
    .cart-span {
        display: none !important;
    }

    /* Simple modal styles for tablet - override old modal styles */
    #simpleMealModal .modal-dialog {
        max-width: 800px !important;
        margin: 30px auto !important;
    }

    #simpleMealModal .modal-content {
        border: none !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    }

    #simpleMealModal .modal-close-btn {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 1000 !important;
    }

    #simpleMealModal .modal-close-btn .close {
        background: rgba(0,0,0,0.5) !important;
        color: white !important;
        border-radius: 50% !important;
        width: 35px !important;
        height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        font-weight: bold !important;
        border: none !important;
        opacity: 1 !important;
        transition: all 0.3s ease !important;
    }

    #simpleMealModal .modal-close-btn .close:hover {
        background: rgba(0,0,0,0.7) !important;
        transform: scale(1.1) !important;
    }

    #simpleMealModal .modal-body {
        padding: 20px !important;
        background: #fff !important;
    }

    #simpleMealModal .modal-body img {
        border-radius: 10px !important;
        object-fit: cover !important;
        width: 100% !important;
        height: 300px !important;
    }

    #simpleMealModal .modal-body h6 {
        color: var(--main_color, #333) !important;
        font-weight: 600 !important;
        margin-bottom: 15px !important;
    }

    #simpleMealModal .modal-body p {
        color: #666 !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }

    #simpleMealModal .meal-description {
        background: #f8f9fa !important;
        padding: 15px !important;
        border-radius: 8px !important;
        border-left: 4px solid var(--main_color, #333) !important;
        margin: 15px 0 !important;
    }

    #simpleMealModal .meal-description strong {
        color: var(--main_color, #333) !important;
        font-weight: 600 !important;
        display: block !important;
        margin-bottom: 8px !important;
    }

    #simpleMealModal .meal-description p {
        margin: 0 !important;
        color: #555 !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    #simpleMealModal .nutrition-info {
        margin: 20px 0 !important;
    }

    #simpleMealModal .allergens-section {
        background: #fff3cd !important;
        padding: 15px !important;
        border-radius: 8px !important;
        border-left: 4px solid #ffc107 !important;
        margin: 15px 0 !important;
    }

    #simpleMealModal .allergens-section strong {
        color: #856404 !important;
        font-weight: 600 !important;
        display: block !important;
        margin-bottom: 10px !important;
    }

    #simpleMealModal .allergens-container {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    #simpleMealModal .allergen-item {
        text-align: center !important;
        padding: 8px !important;
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        transition: transform 0.2s ease !important;
    }

    #simpleMealModal .allergen-item:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    }

    #simpleMealModal .allergen-item img {
        border: 2px solid #ffc107 !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    #simpleMealModal .allergen-name {
        font-size: 11px !important;
        color: #856404 !important;
        font-weight: 500 !important;
        margin-top: 4px !important;
        line-height: 1.2 !important;
        max-width: 50px !important;
        word-wrap: break-word !important;
    }

    #simpleMealModal .badge {
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
        margin: 5px 5px 5px 0 !important;
        border-radius: 20px !important;
    }

    #simpleMealModal .price-section h5 {
        color: var(--main_color, #333) !important;
        font-weight: bold !important;
        font-size: 1.5rem !important;
        margin-top: 20px !important;
    }

    #simpleMealModal .modal-footer {
        border-top: 1px solid #dee2e6 !important;
        padding: 15px 20px !important;
        background: #f8f9fa !important;
    }

    #simpleMealModal .btn-secondary {
        background: var(--main_color, #333) !important;
        border-color: var(--main_color, #333) !important;
        color: white !important;
        padding: 10px 20px !important;
        border-radius: 8px !important;
    }

    #simpleMealModal .btn-secondary:hover {
        background: var(--second_color, #555) !important;
        border-color: var(--second_color, #555) !important;
    }

    /* Ensure modal is visible and not affected by old styles */
    #simpleMealModal {
        z-index: 9999 !important;
    }

    #simpleMealModal .modal-dialog {
        position: relative !important;
        width: auto !important;
        margin: 30px auto !important;
        pointer-events: none !important;
    }

    #simpleMealModal .modal-content {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        pointer-events: auto !important;
        background-color: #fff !important;
        background-clip: padding-box !important;
        border: 1px solid rgba(0,0,0,.2) !important;
        border-radius: 0.3rem !important;
        outline: 0 !important;
        height: auto;
    }

    .allergen-container img {
        width: 20px !important;
        height: 20px !important;
    }

    /* Ensure modal functionality works */
    .meal.open-model-selector {
        cursor: pointer;
        margin-bottom: 8px;
    }

    .meal.open-model-selector:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    /* Search functionality adjustments */
    .menu-button {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        background: var(--main_color, #333);
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    /* Page header adjustments */
    .page-head {
        display: none;
    }

    /* Container adjustments */
    .container {
        max-width: none;
        padding: 0;
    }

    /* Ensure proper scrolling */
    .meal-content-area {
        scroll-behavior: smooth;
    }

    .menu-nav {
        scroll-behavior: smooth;
    }

    /* Responsive adjustments */
    @media (max-width: 900px) {
        .meal-content-area .meal {
            width: calc(50% - 10px);
            margin-right: 10px;
        }

        .meal-content-area .meal:nth-child(3n) {
            margin-right: 10px;
        }

        .meal-content-area .meal:nth-child(2n) {
            margin-right: 0;
        }
    }

    /* Medium tablets: 3 meals per row (900px - 1024px) */
    @media (min-width: 768px) and (max-width: 1024px) {
        .meal-content-area .meal {
            width: calc(33.333% - 10px);
            margin-right: 0px;
        }

        .meal-content-area .meal:nth-child(3n) {
            margin-right: 0;
        }

        .meal-content-area .meal:nth-child(4n) {
            margin-right: 0px;
        }
    }

    /* Large tablets: 4 meals per row (1024px - 1440px) */
    @media (min-width: 1100px) and (max-width: 1440px) {
        .meal-content-area .meal {
            width: calc(25% - 15px);
            /* margin-right: 15px; */
        }

        .meal-content-area .meal:nth-child(3n) {
            /* margin-right: 15px; */
        }

        .meal-content-area .meal:nth-child(4n) {
            margin-right: 0;
        }
    }
}

