@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --input-bg-color: #ffffff;
}

body {
    background: #ffffff !important;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --theme-color: #059941;
}

* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
}

.form {
    --input-text-color: #2b2323;
    --input-bg-color: #ffffff;
    --focus-input-bg-color: transparent;
    --text-color: #949faa;
    --active-color: #059941;
    --width-of-input: 700px;
    --inline-padding-of-input: 1.2em;
    --gap: 0.9rem;
}

.form {
    font-size: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: var(--width-of-input);
    position: relative;
    isolation: isolate;
}

.fancy-bg {
    position: absolute;
    width: 100%;
    inset: 0;
    background: var(--input-bg-color);
    border-radius: 30px;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

label {
    width: 100%;
    padding: 0.8em;
    height: 40px;
    padding-inline: var(--inline-padding-of-input);
    display: flex;
    align-items: center;
}

.search,
.close-btn {
    position: absolute;
}

.search {
    fill: var(--text-color);
    left: var(--inline-padding-of-input);
}

.search svg {
    width: 25px;
    display: block;
}

.close-btn {
    border: none;
    right: var(--inline-padding-of-input);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0.1em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--active-color);
    opacity: 0;
    visibility: hidden;
}

.input {
    color: var(--input-text-color);
    width: 100%;
    margin-inline: min(2em, calc(var(--inline-padding-of-input) + var(--gap)));
    background: var(--input-bg-color);
    border: none;
}

.input:focus {
    outline: none;
}

.input::placeholder {
    color: var(--text-color)
}

/* input background change in focus */
.input:focus~.fancy-bg {
    border: 1px solid var(--active-color);
    background: var(--focus-input-bg-color);
}

/* search icon color change in focus */
.input:focus~.search {
    fill: var(--active-color);
}

/* showing close button when typing */
.input:valid~.close-btn {
    opacity: 1;
    visibility: visible;
}

/* this is for the default background in input,when selecting autofill options -- you can remove this code if you do not want to override the browser style.  */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition: "color 9999s ease-out, background-color 9999s ease-out";
    -webkit-transition-delay: 9999s;
}



.category::-webkit-scrollbar {
    display: none;
}

.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .btn-category {
    width: 100px;
    height: 40px;
    border-radius: 50px;
    margin: 5px;
    display: inline-block;  
    border: 1px solid rgb(134, 128, 45);
} */
.banner {
    margin: auto;
    width: 95%;
    scroll-margin-top: 200px;

}

.banner img {
    width: 100%;
    border-radius: 7px;
}

.menu-section {
    width: 95%;
    margin: auto;
}

.card {
    border-radius: 7px;
    /* border: 0.1px solid rgb(223, 223, 223); */
    border: 0;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* .card-body{
  
} */
.image-box {
    width: 100%;
    height: 180px;
    /* Adjust this height to your liking */
    overflow: hidden;
    background-color: #f8f9fa;
    /* Placeholder color while loading */
    position: relative;
}

/* 2. Make the image fill the box without distorting */
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This is the magic property */
    display: block;
}

.image {
    width: 100%;
    position: relative;
}

.category {
    width: 95%;
    margin: auto;
    overflow: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.category ul {
    padding: 0;
    margin: 0;
    display: inline-flex;
    list-style: none;
}

.category ul li {
    margin: 0 10px;
}

.category ul li a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ececec;
    color: rgb(31, 29, 29);
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 1s ease, color 1s ease, border-color 1s ease;
    white-space: nowrap;
    border: #ffffff 1px solid;
    font-weight: 700;
}

.category ul li a.active {
    background-color: white;
    /* border-color: #059941; */
    border-color: var(--theme-color);
    /* transition: 1s ease; */
}

.menu-section {
    scroll-margin-top: 190px;
}

.footer {
    width: 100%;
    height: 120px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background-color: #b4a629; */
    border: 1px solid var(--theme-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}

.footer a {
    color: var(--theme-color);
    text-decoration: none;
}

.float-right {
    float: right;
}

/* .btn-add{
    width: 30px;
    height: 30px;
    border-radius: 50px;
    margin: 5px;
    display: flex;  
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    font-size: 20px;
    border: none;
} */
@media screen and (max-width: 1000px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .banner {
        width: 100%;
    }

    .menu-section {
        width: 100%;
    }

    .search-container {
        width: 100%;
    }

    .category {
        width: 100%;
    }

}


.discount-box {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgb(207, 159, 99);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 15px;
    border-radius: 50px;
    z-index: 10;
    bottom: 5px;
    right: 5px;
}

.card-body {
    padding: 10px;
    position: relative;
}

.popular-tag {
    position: absolute;
    padding: 5px;
    height: 20px;
    background-color: rgb(255, 189, 6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 10px;
    border-radius: 10px;
    z-index: 10;
    top: 5px;
    left: 5px;
}
.card-title {
    font-size: 1rem;
    margin-top: 22px;
    margin-bottom: 0 !important;
    line-height: 1.2em;
    overflow: hidden;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1;
}
.main-nav {
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* smoother easing */
    height: 100px;
}

.main-nav.shrink {
    height: 70px !important;
}

#siteLogo {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* smoother easing */
}

#siteLogo.shrink {
    width: 100px !important;
}

#categoryBar ul li a {
    transition: padding 0.3s ease, font-size 0.3s ease;
}

#categoryBar ul li {
    transition: margin 0.3s ease;
}

#categoryBar.shrink ul li a {
    padding: 6px 14px;
    font-size: 13px;
}

#categoryBar.shrink ul li {
    margin: 0 6px;
}


.btn-add {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 4px 5px;
    background-color: white;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid black;
    background: white;
    color: black;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 5px;
}

#qty-value {
    min-width: 20px;
    text-align: center;
    font-size: 16px;
}

@media (max-width: 375px) {

    .btn-add,
    .qty-btn {
        width: 26px;
        height: 26px;
        font-size: 16px;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.add-item-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    height: 65px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px -2px 10px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 10px;
    transform: 0.5s ease-in-out;
    cursor: pointer;
}

/* @media screen and (max-width: 1242px) {
    .add-item-bar{
      width: 95%;
      
    }
} */
.add-items {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    background-color: var(--theme-color);
    border-radius: 50px;
}

.ordering,
.item-count,
.item-text,
.total-money {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.fa-cart-shopping {
    color: white;
    font-size: 20px;
    margin-right: 10px;
}

.aa {
    position: relative;
}

.text-price {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
}

.order-summary {
    width: 100%;
}

.items-detail {
    width: 100%;
}

.box-item {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--theme-color);
    border-radius: 10px;
    padding: 10px;
    margin-top: 5px;
    /* padding: 10px; */
}

.payment-summary {
    width: 100%;
    height: 80px;
    border: 1px solid var(--theme-color);
    border-radius: 10px;
    padding: 10px;
}

.add-to-cart-bar {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-color);
    border-radius: 10px;
    /* margin-top: 10px; */
    color: white;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.payment-method {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #f8f9fa; */
    border-radius: 10px;
    /* margin-top: 10px; */
    /* color: #059941; */
    padding: 5px 20px;
    border: 1px solid var(--theme-color);
}

.sub-total-bar {
    width: 90%;
    color: black;
    margin: auto;
}

.checkout-footer {
    width: 90%;
    margin: auto;
}

.fa-chevron-left {
    color: var(--theme-color);
}

@media screen and (max-width: 700px) {

    /* .menu-text{
      display: none;
    } */
    .add-item-bar {
        width: 100%;

    }

    .sub-total-bar {
        width: 100%;
    }

    /* .checkout{
      width: 88%;
    } */

}

.remove-cart {
    border: none;
    background-color: white;
}

.back_to_menu {
    width: 5%;
}

.checkout-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px -2px 10px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 10px;
    transform: 0.5s ease-in-out;
    cursor: pointer;
}

.box-arrow2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--theme-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}

.sub-total-bar {
    width: 90%;
    color: black;
    margin: auto;
}

.checkout-footer {
    width: 90%;
    margin: auto;
}

.checkout {
    width: 95%;
    height: 40px;
    border-radius: 30px;
    background-color: var(--theme-color);
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
}

/* Small devices (phones) */
@media (max-width: 575.98px) {
    .checkout {
        width: 86%;
        /* font-size: 16px;
        height: 36px; */
    }

    .box-arrow2 {
        width: 40px;
        height: 40px;
    }

    .sub-total-bar {
        width: 95%;

    }

    .checkout-footer {
        width: 95%;

    }
}

/* Medium devices (tablets) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .checkout {
        width: 92%;
        /* font-size: 18px;
        height: 38px; */
    }

    .box-arrow2 {
        width: 40px;
        height: 40px;
    }
}
/* loading */
#loadingOverlay {
    position: fixed;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    background: rgba(255, 255, 255, 0.8);
    display: none;

    /* CENTERING */
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #059941;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

#loadingOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: none;

    /* CENTER */
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;
}

.loading-img {
    width: 80px;
    /* adjust size */
    height: auto;
}
/* search loader */
.search-wrapper {
    position: relative;
    /* width: 100% */
}

.input-loader {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    /* ✅ FIX */
    align-items: center;
    justify-content: center;
    width: 28px;
    /* ✅ GIVE SPACE */
    height: 28px;
    z-index: 10;
}

.spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #ccc;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.input {
    padding-right: 52px;
}
.hidden{
    display: none !important;
}

/* payment screen */
.payment-box {
    width: 420px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.payment-item {
    border: 1px solid var(--theme-color);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.payment-header {
    padding: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.payment-body {
    display: none;
    padding: 14px;
    border-top: 1px solid #eee;
}

.payment-body label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

.payment-body input,
.payment-body select {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.arrow {
    transition: 0.3s;
}

.payment-item.active .arrow {
    transform: rotate(90deg);
}
.name{
    font-size: 13px !important;
}
/* customer cart */
.customer-card {
    background: #fff;
    border: 1px solid var(--theme-color);
    border-radius: 20px;
    padding: 10px;
    /* max-width: 500px; */
    /* Adjust based on your layout */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.delivery-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.delivery-label {
    font-weight: 500;
}

.btn-add-details {
    background: white;
    border: 1.5px solid #000;
    padding: 6px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-add-details:hover {
    background: #f8f8f8;
}
.form-control{
    border-radius: 10px !important;
}
/* validation */
.was-validated .form-control {
    padding-right: calc(1.5em + 0.75rem);
    /* Ensures space for the icon */
    background-position: right calc(0.75em + 0.1875rem) center;
    /* Centers icon in pill shape */
}
#add-delivery{
    border-radius: 12px;
}
/* payment modal */
.payment-modal {
    border-radius: 16px;
    padding: 8px;
}

.payment-item {
    border: none;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    background-color: #d3d3d308;
}

.payment-item:hover {
    border-color: #0d6efd;
    background: #f8fbff;
}

.pay-icon {
    width: 55px;
    height: 55px;
    margin-right: 14px;
    object-fit: contain;
    /* border-radius: 14px; */
}

.pay-title {
    font-size: 18px;
    font-weight: 600;
}

.arrow {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-left: auto !important;
    background-color: #d3d3d359;
    padding: 0px 12px 2.5px 12px;
    border-radius: 5px;
    color: #484848;
}

.card-icons img {
    height: 20px;
    margin-right: 8px;
}
.btn_disabled{
    opacity: 0.5 !important;
}
/* category hr */
.main-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-direction: row;
}

.main-category hr {
    border: none;
    border-top: 5px double #ddd;
    width: 25%;
}
#modalDescription{
    text-align: left !important;
}
.product_details{
    display: none !important;
}
/* visibilty none */
form#aba_merchant_request {
    visibility: hidden;
    display: none;
}
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th:first-child {
    border-top-left-radius: 0.5rem;
}

.table thead th:last-child {
    border-top-right-radius: 0.5rem;
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 0.5rem;
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0.5rem;
}

.footer-payment {
    background: #f8f9fa;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.payment-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 35px;
    width: auto;
    opacity: 0.8;
    transition: 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
    transform: scale(1.1);
}

#clearHistoryBtn {
    border-radius: 20px;
    transition: all 0.25s ease;
}

#clearHistoryBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.2);
}