/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;900&display=swap");

/* Variables */
:root {
    --clr-primary: #ffca00;
    --clr-primary-light: #FFEA75;
    --clr-dark-blue: #1d1836;
    /* --clr-accent: #4917D6; */
    --clr-black-900: #1f1f1f;
    --clr-black-800: #303030;
    --clr-black-600: #3f3f3f;
    --clr-white-off: #f7f7f7;
}

/* Utils */
.font-weight-medium {
    font-weight: 500;
}
.font-weight-black{

    font-weight: 900;
}
.text-xs {
    font-size: 0.75rem;
}
.text-sm {
    font-size: 0.875rem;
}
.text-base {
    font-size: 1rem;
}
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
}
.text-2xl {
    font-size: 1.5rem;
}
.text-3xl {
    font-size: 1.875rem;
}
.text-4xl {
    font-size: 2.25rem;
}
.text-5xl {
    font-size: 3rem;
}
.text-6xl {
    font-size: 4rem;
}

/* Basic Reset */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    font-family: "Poppins", sans-serif !important;
    box-sizing: border-box;
}

body, section{
    scroll-behavior: smooth;
    background-color: #f7f7f7;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    font-family: "Poppins", sans-serif !important;
    margin: 0;
    padding: 0;
    font-weight: normal;
    color: var(--clr-black-900);
}

ol,
ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Common CSS */
.wrapper {
    min-height: 100vh;
}
.section__title{
    color: var(--clr-dark-blue);
}

.banner__overlay{
    padding: 50px 0;
    width: 100%;
    -webkit-backdrop-filter: blur(2.5px);
    backdrop-filter: blur(2.5px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.businessLogo {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.businessName{
    font-size: 1.6rem;
}
.businessAddress{
    font-size: 1.125rem;
}

.businessName,.businessAddress{
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.35);
}

/* Menu */
.navigation{
    background-color: #fff;
    /*padding-bottom: 4rem;*/
    border-bottom: 1px solid #ececec;
}

.nav-link{
    color: var(--clr-black-600);
}
.nav-link:hover{
    color:var(--clr-dark-blue);
}
.active{
    position: relative;
    color: var(--clr-black-900);
    background: none;
}

.dropdown-item.active, .dropdown-item:active{
    background-color: transparent !important;
    color: var(--clr-black-900);
}

.dropdown-menu-right{
    position: absolute !important;
}

.dropdown-toggle::after{
    vertical-align: .1em !important;
}

.card-body{
    min-height: 150px;
}

.product__image{
    background-size: cover;
    background-position: center;
}


.description-wrapper p {
    font-size: 0.875rem;
    padding-left:1rem!important;
    padding-right:1rem!important;
    margin-bottom:.5rem!important;
    box-sizing:inherit;
    line-height:1.5em;
    max-height: 3em;
    min-height: 1.5em;
    overflow: hidden;
    text-align:left;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tooltip-inner {
    max-width: 500px;
    /* If max-width does not work, try using width instead */
    width: 500px;
    background-color: gold;
    font-size: 15px;
    color: black;
}

.tooltip-outer{
    padding-left: 50px;

}

/* Animation */
@keyframes animateNavActive {
    0% {width: 0;}
    80%{width: 90%;}
    100% {width: 60%;}
}

.product__card{
    overflow: hidden;
    max-height: 180px;
}
.product{
    display: flex;
    position: relative;
    overflow: hidden;
}

.product__txt{
    width: 65%;
}

.product__img{
    width: 35%;
    max-height: 100%;
}

.product__img img{
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* MQ */
@media (min-width: 768px) {
    .businessName{
        font-size: 2rem;
    }
    .businessLogo {
        height: 130px;
        width: 130px;
    }
    .businessAddress{
        font-size: 1rem;
        font-size: 1.125rem;
    }
    .product__txt{
        width: 70%;
    }

    .product__img{
        width: 30%;
        max-height: 100%;
    }
}

@media (min-width: 992px) {
    .businessName{
        font-size: 2.3rem;
    }
}

.banner {
    position: relative;
}
.banner h3 {
    font-size: 1.1rem;
}
.banner p {
    font-size: 0.5rem;
}
@media screen and (min-width: 768px) {
    .banner h3 {
        font-size: 1.5rem;
    }
    .banner p {
        font-size: 0.75rem;
    }
}
.banner__stripe {
    /* border-bottom: 4px solid #0000003f; */
    /* box-shadow: 0 8px 0px 0px rgba(0, 0, 0, 0.5); */
    text-align: center;
    padding: 0.3rem 0;
    background-color: #a91c23;
    position: absolute;
    z-index: 999;
    width: 98.994949366117px;
    left: 100%;
    top: 0;
    transform-origin: top left;
    transform: translateX(-70px) rotate(45deg);
}
.banner__stripe::before,
.banner__stripe::after {
    content: "";
    height: 100%;
    width: 65%;
    background-color: #a91c23;
    /* border-bottom: 4px solid #0000003f; */
    /* box-shadow: 0 8px 0px 0px rgba(0, 0, 0, 0.5); */
    position: absolute;
    display: block;
    top: 0;
}
.banner__stripe::before {
    left: 98%;
}
.banner__stripe::after {
    right: 98%;
}

@media screen and (min-width: 768px) {
    .banner__stripe {
        padding: 0.7rem 0;
        width: 141.42135623731px;
        transform: translateX(-100px) rotate(45deg);
    }
    .banner__stripe::before,
    .banner__stripe::after {
        height: 100%;
        width: 65%;
    }
}
.stripe-shadow {
    position: absolute;
    width: 300%;
    top: 0%;
    left: -100px;
    height: 100%;
    background-color: #a91c23;
    z-index: -1;
    box-shadow: 0px 5px 20px 0px #02010056;
}
.footer {
    background-color: #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    height: 49px;
    top: calc(100vh - 49px);
}
.footer h3 {
    color: #4a4a4a;
    font-size: 0.9rem;
}
.footer p {
    color: #4a4a4a;
    font-size: 0.6rem;
}
@media screen and (min-width: 768px) {
    .footer {
        height: 53px;
        top: calc(100vh - 53px);
    }
    .footer h3 {
        font-size: 1rem;
    }
    .footer p {
        font-size: 0.7rem;
    }
}

.footer--dark {
    background-color: #353535 !important;
}
.footer--dark h3,
.footer--dark p {
    color: #f8f9fa;
}

.card-text {
    height: 45px;
}

@media (min-width: 1200px) {
    .container.foodList {
        max-width: 1200px;
    }
}

.row.mt-4 .col-lg-6:nth-child(odd) {
    padding-right: 8px;
    padding-left: 15px;
}

.row.mt-4 .col-lg-6:nth-child(even) {
    padding-left: 8px;
    padding-right: 15px;
}

.product__card .product {
    min-height: 180px;
}

.product__card .card-title {
    margin-bottom: 5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product__card .card-text {
    color: #777;
}

.product__card .product__details-section {
    height: 95px;
}

.product__card .product__price-section {
    height: calc(100% - 95px);
    display: flex;
    align-items: flex-end;
}

.product__card .product__price {
    padding: 0.6em 1.6em 0.6em 0.6em;
    font-weight: 500;
}

.product__card .product__img {
    width: 180px;
}

.product__card .product__txt {
    width: calc(100% - 180px);
    flex-grow: 100;
}

.product__card .product__variant-section {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
    height: auto;
}

.product__variant .variant__name {
    text-transform: uppercase;
    font-weight: 600;
    padding-right: 1px;
}

.product__variant .variant__price {
    font-weight: 400;
}

.modal-header .close {
    opacity: 1;
    font-size: 18px;
    transition: 0.3s;
    text-shadow: 0 1px 0 #ffffff;
    margin-right: auto;
    margin-left: -1rem;
    margin-bottom: 0;
}

.modal-header .close:hover {
    opacity: 0.3;
}

.modal-content {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border: unset !important;
    border-radius: 4px;
}

.modal-header {
    display: flex;
    flex-direction: column;
}

.modal-header h5 {
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 4px;
}

.modal-body {
    padding: 0;
    background-color: #dee2e6;
}

.modal__section {
    padding: 20px 0;
    margin-top: 2px;
    background: #ffffff;
}

.modal__section .row {
    margin: 0;
}

.modal__section h5 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    padding-bottom: 6px;
}

.modal__about .text-sm {
    font-size: 15px;
    line-height: 22px;
    color: #707070;
}

.modal-backdrop.show {
    opacity: .75;
}

.modal__variants h5 {
    padding-bottom: 16px;
}

.modal-variant__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 16px;
}

@media (max-width: 992px) {
    .row.mt-4 .col-lg-6:nth-child(odd),
    .row.mt-4 .col-lg-6:nth-child(even) {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .no-product__txt {
        padding: 16px;
    }

    .row.mt-4 .col-lg-6:nth-child(odd),
    .row.mt-4 .col-lg-6:nth-child(even) {
        padding: 0;
    }

    .modal__section h5 {
        font-size: 14px;
    }

    .modal-variant__list {
        font-size: 16px;
    }

    .product__card .product {
        min-height: 152px;
    }

    .product__card {
        border-radius: 0;
        border-left: unset;
        border-right: unset;
        max-height: 182px;
    }

    .product__card .product__img {
        width: 132px;
        padding: 8px;
        text-align: right;
    }

    .product__card .product__txt {
        width: calc(100% - 132px);
    }

    .product__img img {
        width: 116px;
        height: 116px;
        border-radius: 4px;
    }

    .product__card .product__price {
        padding: 0.5em 1.5em 0.5em 0.5em;
    }

    .product__card .product__details-section,
    .product__card .product__price-section {
        height: auto;
    }

    .product__card .product__variant-section {
        padding-left: 16px;
        padding-right: 8px;
    }

    .product__variant-section .product__variant {
        font-size: 14px;
    }

    .desktop-only {
        display: none;
    }
}

@media (min-width: 576px) {
    .mob-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}

@media (max-width: 380px) {
    .product__card .product__img {
        width: 126px;
    }

    .product__card .product__txt {
        width: calc(100% - 126px);
    }

    .product__img img {
        width: 110px;
        height: 110px;
    }

    .product__card .product {
        min-height: 150px;
    }
}

.variant__desc {
    display: none;
}

/* Nutrition Info Pop-Up Changes */
.ease {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.modal-header {
    border-bottom: unset;
}

.modal__tab-selection {
    width: 100%;
    display: flex;
    padding: 0;
    margin-top: 2px;
    background: #fff;
}

.modal-body section {
    background: unset;
    scroll-behavior: auto;
}

.modal__tab-selection .nav-link {
    padding: 16px 24px;
    color: #95989B;
    display: flex;
    align-items: center;
    border: unset;
}

.modal__tab-selection .nav-link span {
    font-size: 16px;
    padding-left: 8px;
}

.modal__tab-selection .nav-link i {
    font-size: 18px;
}

.modal__tab-selection .nav-tabs {
    border: unset;
}

.modal__tab-selection .nav-tabs .nav-item {
    margin-bottom: 0;
}

.modal__tab-selection .nav-link.active::after {
    width: 100%;
    bottom: -2px;
}

.modal__tab {
    position: relative;
}

.modal__row {
    padding: 10px 16px;
}

.modal__row:nth-child(even) {
    background-color: #F7F7F7;
}

.modal__section .tab-pane.active::after {
    all: unset;
}

@media (max-width: 360px) {
    .modal__tab-selection .nav-link {
        padding: 16px 10px;
    }

    .modal__tab-selection .nav-item {
        width: 50%;
    }

    .modal__tab-selection .nav-link {
        justify-content: center;
    }

    .modal__tab-selection .nav-tabs {
        width: 100%;
    }
}

/* Nutrition Info Layout Changes */
.product__info-section {
    margin-bottom: 1rem !important;
    padding-right: 16px;
}

.product__card .product__price-section {
    justify-content: space-between;
    align-items: flex-end;
}

.product__info-section .info__btn span {
    text-transform: uppercase;
    font-weight: 600;
    padding-right: 1px;
    letter-spacing: 0.5;
    font-size: 13px;
}

.label-cal {
    background-color: #FFEFE0;
    color: #FF7A00;
    font-weight: 500;
    font-size: 13px;
    border-radius: 4px;
    padding: 5px 8px;
    margin: 0 !important;
    margin-right: 6px !important;
    min-width: 85px;
    text-align: center;
}

.label-cal span {
    padding-left: 2px;
}

.product__card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.label-cal-mob {
    display: none;
}

@media (max-width: 576px) {
    .product__card {
        max-height: 250px;
    }

    .product__price-section {
        flex-direction: column-reverse;
    }

    .product__info-section {
        padding-left: 16px;
        padding-right: 0;
        display: flex;
        align-items: center;
    }

    .product__card .product__price-section {
        align-items: flex-start;
    }

    .label-cal-desktop {
        display: none;
    }

    .label-cal-mob {
        display: block;
    }

    .product__card .card-title {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        white-space: normal;
    }
}

@media (max-width: 360px) {
    .product__card .card-title {
        font-size: 15px;
    }

    .product__info-section .info__btn {
        padding: 5px 8px !important;
    }

    .label-cal {
        min-width: unset;
    }
}