@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600&display=swap");

/*common css*/
:root {
    --ezyellow: rgb(255, 255, 0);
    /*--ezyellow: rgb(204, 204, 75);*/
    --ezred: 255;
    --ezgreen: 255;
    --ezblue: 0;
    /*--ezprimary: rgb(204, 204, 75);*/
    --ezprimary: rgb(255, 255, 0);
    --ezdark: rgb(0, 0, 0);
    --ezoffwhite: rgb(255, 255, 151);
    --ezlightoffwhite: rgb(255, 255, 209);
    --ezlightblue: rgb(43, 175, 231);
    --ezdarkkhaki: rgb(209, 204, 0);
    --ezkhaki: rgb(255, 222, 117);
    --ezbeige: rgb(255,255,229);
    --ezTableHeader: rgb(255, 194, 0);
}


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Calibri;
}

.text-grey {
    color: gray;
}

.logo{
    height: 40px;
    width: 80px;
}

.background-white{
    background: #fff;
}

.navbar {
    background-color: #fcfcfc !important;
    border-bottom: 1px solid #eceff4;
    padding: 0 2.5rem;
}

.navbar-light .nav-item .nav-link {
    color: gray !important;
    padding: 1rem 0.5rem !important;
}

.navbar-light .nav-item.active .nav-link,
.navbar-light .nav-item .nav-link:active,
.navbar-light .nav-item .nav-link:focus,
.navbar-light .nav-item:hover .nav-link {
    color: #2ec970 !important;
    border-bottom: 4px solid #2ec970;
}
.navbar-brand {
    font-weight: 700;
}
.nav-search-input {
    margin-right: 1rem;
    width: 300px;
    background-color: #eceff4 !important;
}
.nav-search-input-sm {
    width: 90%;
    text-align: center;
    background-color: #eceff4 !important;
    border: 1px solid #eceff4;
    border-radius: 3px;
    margin-left: 1.6rem;
    display: none;
}
.navbar-search-btn{
    display: none;
}
.nav-cart-icon {
    display: none;
}
.navbar-user-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.navbar-toggler {
    font-size: 1rem;
}

.main-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    padding: 2rem;
    padding-top: 0;
    padding-right: 0;
    width: 100%;
}
.main-items-container {
    overflow-x: hidden;
}

.directional-arrow-icon {
    height: 30px;
    width: 30px;
    text-align: center;
    border: 1px solid #eceff4;
    padding-top: 5px;
    cursor: pointer;
}
.order-list-container {
    overflow-x: auto;
}

.order-list-items-container,
.promo-list-items-container {
    display: inline-flex;
    overflow-x: auto;
    width: 100%;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.order-list-items-container::-webkit-scrollbar,
.promo-list-items-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and newer Edge */
}

.border-main {
    border: 1px solid #eceff4;
}

.categories-items-container {
    display: inline-flex;
    overflow-x: auto;
    width: 100%;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.categories-items-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and newer Edge */
}

.categories-container img {
    display: block;
    width: 9rem;
    height: 7rem;
    object-fit: cover;
}

.categories-items {
    border: 1px solid #eceff4;
    border-radius: 3px;
    color: gray;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    cursor: pointer;
}

.menu-grid-items-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.menu-item-col {
    margin-bottom: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 1rem;
    width: 200px;
}

.menu-item-img {
  width: 100%;
  height: 8rem;
  object-fit: contain;
  border-radius: 10px;
}
.product-details-img {
    max-height: 20rem;
    width: auto;
    object-fit: contain;
}

.menu-item-overlay--recomend {
    background-color: #37435ed1;
    color: #fcfcfc;
    font-size: 14px;
    padding: 2px 6px;
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    text-align: center;
    font-weight: 700;
}

.menu-item-overlay--offer {
    background-color: #8858eb;
    color: #fcfcfc;
    font-size: 12px;
    padding: 2px 6px;
    position: absolute;
    top: 10px;
    left: 10px;
}

/* cart styles  */

.cart-container {
    border-left: 1px solid #eceff4;
}
.close-cart-btn {
    display: none;
}
.cart-size-logo {
    background-color: black;
    color: #fcfcfc;
    padding: 5px 10px;
    margin-top: -6px;
}

.cart-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -15px;
}

.cart-extra-items {
    background-color: #f9cbcb;
    padding: 2px 6px;
    margin: 3px;
    display: inline-block;
}

.cart-pay-btn {
    background-color: rgb(0,0,0);
    border: none;
    color: #fcfcfc;
    padding: 2px 17px;
    border-radius: 5px;
}

    .cart-pay-btn:disabled {
        background-color: rgb(60, 60, 60);
    }

.items-increase-btn {
  background-color: black;
  color: #fcfcfc;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 3px;
  font-weight: bold;
  font-size: 1.1rem;
  align-self: stretch;
  cursor: pointer;
}

.items-number-input {
    display: inline-block;
    align-self: stretch;
    width: 3.5rem;
    text-align: center;
    font-size: 1rem;
}

.menu-items-increase-btn {
    font-size: 1rem;
    background-color: #eaebeb;
    color: black;
    box-shadow: rgba(0, 0, 0, 0.24) 2px 2px 3px;
}

.menu-items-number-input {
    font-size: 1rem;
    width: 5.5rem;
    border: 1px solid #eaebeb;
    box-shadow: rgba(0, 0, 0, 0.34) 2px 2px 3px;
}

/* shipping container  */
#shipping-container {
    display: none;
}

    #shipping-container :is(input, textarea) {
        border: 1px solid #eceff4;
    }

    #shipping-container :is(input) {
        height: 2rem;
    }

/* media queries  */
/* Hide cart for screens less than 768px */
@media (min-width: 768px) {
    #nav-cart {
        display: none; /* Display the cart option in the navbar */
    }
}

@media all and (max-width: 992px){
    .navbar-light .nav-item.active .nav-link,
    .navbar-light .nav-item .nav-link:active,
    .navbar-light .nav-item .nav-link:focus,
    .navbar-light .nav-item:hover .nav-link {
        margin-bottom: 1rem;
    }
}

@media all and (max-width: 1024px) {
    .main-container {
        grid-template-columns: 2fr 1fr; /* Full width for main content */
    }
}


.payment-popup {
    z-index: 100000 !important;
}

.modal {
    z-index: 100001;
}

@media all and (max-width: 767px) {
    .navbar {
        padding: 0 .5rem;
    }

    .main-container {
        padding: 0px;
        grid-template-columns: 1fr; /* Full width for main content */
        position: relative;
    }

    #overlay {
        background: rgba(0,0,0,0.5);
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        display: none;
    }

    .cart-container {
        background: #fff;
    }

    .close-cart-btn {
        display: block;
    }

    #nav-cart {
        display: block;
    }

    .nav-search-input {
        margin-right: 0;
        width: 100%;
    }

    .nav-cart-icon {
        display: block;
    }

    .payment-popup {
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 101;
    }
}

@media all and (max-width: 576px) {
    .navbar {
        padding: 0 .5rem;
    }

    .navbar-brand {
        font-size: large;
        font-weight: 500;
    }

    /*.nav-search-input {
        display: none;
    }*/

    .nav-search-input-sm {
        display: block;
    }

    .navbar-search-btn {
        display: block;
    }

    .payment-popup {
        position: relative;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 101;
        width: 100% !important;
    }
    .menu-items-number-input{
        width: 3.5rem;
    }
}

@media all and (max-width: 448px) {
    .menu-item-col {
        padding: .3rem;
        width: 150px;
    }

    .menu-item-img {
        width: 2rem;
        height: 3rem;
        object-fit: contain;
    }

    .nav-search-input-sm {
        margin-left: 1.1rem;
    }
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}

.collectedPaymentTable th, .collectedPaymentTable td {
    text-align: center;
    padding: 4px 6px;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 50%;
    left: 0px;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.modal-backdrop {
    z-index: 0 !important;
    display: none !important;
}
.nav-cart-wrapper{
    position: relative;
}
.nav-cart-wrapper span {
    display: none;
    background-color: #0382ff;
    border-radius: 50%;
    position: absolute;
    right: -14px;
    top: -12px;
    height: 20px;
    width: 20px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}
@media all and (max-width: 768px) {
    .nav-cart-wrapper span{
        display: flex;
    }
}

.product-edit-popup input, .product-edit-popup select{
    /*width: 180px;*/
}

.menu-item-col .badge{
    font-size: 50%!important;
}

.product-view-modal-image {
    height: 200px;
    width: 100%;
}

.product-view-modal-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.product-view-modal .product-priceInfo {
    font-size: 22px;
    font-weight: 500;
    color: #f34d63;
}

.product-view-modal .product-priceInfo strike {
    color: #333;
}


.product-view-modal .size,
.product-view-modal .color {
    list-style: none;
    margin: 0px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    color: #666;
    padding: 0;
}

.product-view-modal .size li,
.product-view-modal .color li {
    cursor: pointer;
}

.product-view-modal .size li:hover {
    text-decoration: underline;
    color: #333;
}

.product-view-modal .size li.active {
    text-decoration: underline;
    color: #333;
}

.product-view-modal .color li {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.product-view-modal .color li:hover {
    border: 1px solid #333;
}

.product-view-modal .color li.active {
    border: 2px solid #333;
}

@media screen and (max-width:576px) {
    .product-view-modal-image {
        height: 160px;
        width: 100%;
    }

    .product-view-modal-additional-images img {
        height: 100px;
    }
}


.owl-carousel-wrapper {
    position: relative;
    margin: 20px 0px;
}

.owl-carousel-wrapper .owl-carousel {
    overflow: auto;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
}

.owl-carousel-wrapper .owl-carousel::-webkit-scrollbar {
    display: none;
}

/* For other browsers */
.scrollbar-hidden {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.owl-carousel-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.owl-carousel-wrapper .owl-nav .owl-prev,
.owl-carousel-wrapper .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.owl-carousel-wrapper .owl-nav .owl-prev {
    left: -10px;
}

.owl-carousel-wrapper .owl-nav .owl-next {
    right: -10px;
}

.owl-carousel-wrapper .owl-nav .owl-prev:hover,
.owl-carousel-wrapper .owl-nav .owl-next:hover {
    background-color: #f34d63;
    color: #ffffff;
}

.owl-carousel-wrapper .owl-nav .owl-prev:hover i,
.owl-carousel-wrapper .owl-nav .owl-next:hover i {
    color: #ffffff;
}

.owl-carousel-wrapper .owl-nav .owl-prev i,
.owl-carousel-wrapper .owl-nav .owl-next i {
    font-size: 30px;
}

.top-md-3 {
    top: 3rem;
}

@media screen and (max-width:576px) {
    .top-5 {
        top: 5rem;
    }
}


.expense-note-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.expense-note-form-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: 80%;
}


    .expense-note-form-container .form-control {
        font-size: 14px;
    }

    .expense-note-form-container table th, .expense-note-form-container table td {
        padding: .50rem;
    }


@media screen and (max-width:768px) {
    .expense-note-form-container {
        transform: translate(-50%, 0%);
    }
}

@media screen and (max-width:576px) {
    .direct-product-view-modal-image {
        height: 160px;
        width: 100%;
    }

    .direct-product-view-modal-additional-images img {
        height: 100px;
    }

    .expense-note-form-container {
        transform: translate(-50%, 0%);
        width: 100%;
    }
}


.ez-bkblue {
    background: #00bfff;
    color: #fff;
}

.product-add-popup input, .product-add-popup select {
    width: 180px;
}

@media screen and (max-width: 576px){
    .product-add-popup input, .product-add-popup select {
        width: 100px;
    }
}

.statementTable th {
    font-size: 12px !important;
    background-color: #05303e;
    color: white;
}

.statementTable th, .statementTable td {
    border: 1px solid #dddddd;
}

.statementTable td {
    border: 1px solid;
    border-color: lightgrey;
    font-size: 12px !important;
    padding: 4px !important;
}

#searchTableDiv {
    position: absolute;
    top: 48px;
    max-height: 50vh;
    background: #fff;
    padding: 10px 0px 0px 10px;
    box-shadow: 0px 5px 5px 3px #3838387d;
}

#searchTableDiv .close {
    position: sticky;
    bottom: 0px;
    width: 100%;
    padding: 4px 8px;
    border-top: 1px solid #b1b1b1;
    background: #fff;
    z-index: 100000000;
    opacity: 1;
}

#searchTableDiv .close button {
    background: rgb(0, 0, 0);
    padding: 8px;
    color: rgb(255, 255, 255);
    font-size: 18px;
    margin-top: 4px;
    border: none;
}

#searchTableDiv .list-item {
    border: none;
    padding: 4px;
    text-align: left;
    background: none;
    outline: none;
}

#searchTableDiv .list-item:focus-visible {
    outline: 2px solid #2b9dff;
}

@media screen and (max-width: 576px){
    #searchTableDiv {
        width: 90%;
    }
}

.copyurl {
    font-size: 1rem;
    padding: 2px 6px;
    background: #eceff4;
    color: #2a2a2a; /* optional: improve contrast */
    border-radius: 6px; /* rounded corners for better appearance */
    cursor: pointer;
    box-shadow: none;
}
