@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Varialbes */

:root {
    --font-default: "Roboto", sans-serif;
    --font-heading: "Roboto", sans-serif;
    --fontawesome: "Font Awesome 5 Pro";
    --color-primary: #F3F4F6;
    --color-secondary: #880808;
    --color-text: #1D1616;
    --box-shadow-primary: -1px 3px 10px 0 rgba(0, 0, 0, 0.6);
    --box-shadow-secondary: 0 10px 30px 0 rgba(44, 130, 237, 0.4);
    --box-shadow-regular: 0px 2px 12px 0px #e7e7e7;
}

ul {
    list-style: none;
    margin-bottom: 0px;
}

ul {
    margin-left: -32px !important;
}

a {
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
    text-decoration: none;
    color: var(--color-text);
}

a:hover {
    text-decoration: none;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
    color: currentColor
}

a:focus {
    outline: none
}

.section_padding {
    padding-top: 7px;
    padding-bottom: 7px;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0
}

body {
    font-family: var(--font-default);
    position: relative;
    font-size: 14px;
    margin: 0;
    color: var(--color-text);
    background-color: #ffffff;
    letter-spacing: .5px;
}

@media only screen and (min-width: 767px) {
    body {
        max-width: 600px;
        margin: 0 auto
    }
}


/* Header */

.header {
    padding: 5px 15px;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.header .logo-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: calc(7px + (12 - 7) * ((100vw - 320px) / (1920 - 320)))
}

.header .logo-wrap .logo {
    width: auto;
    height: 35px;
}

.header .avatar-wrap p {
    margin-top: 15px;
    font-size: 18px;
    padding: 4px 40px;
    border-radius: 5px;
    border:1px solid var(--color-secondary);
    color: black;
}

.search_box_results {
    height: 70vh;
    overflow-y: scroll;
    display: none;
}


/* Footer  */

.footer-wrap {
    margin: 0 auto;
    max-width: 767px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320))) 0;
    background-color: var(--color-secondary);
    z-index: 3
}

@media only screen and (min-width: 767px) {
    .footer-wrap {
        max-width: 700px
    }
}

.footer-wrap .footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-between;
    margin-top: 8px;
    width: 100%;
    padding: 0 20px;
}

.footer-wrap .footer .footer-item .footer-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2px;
    position: relative
}

.footer-wrap .footer .footer-item .footer-link i {
    font-size: 25px;
    color: #fff
}

.footer-wrap .footer .footer-item .footer-link .icon {
    width: calc(30px + (32 - 30) * ((100vw - 320px) / (1920 - 320)));
    height: calc(30px + (32 - 30) * ((100vw - 320px) / (1920 - 320)));
    margin-bottom: -7px
}

.footer-wrap .footer .footer-item .footer-link span {
    color: #fff;
    margin-bottom: -3px;
    font-size: calc(12px + (15 - 12) * ((100vw - 320px) / (1920 - 320)))
}

.footer-wrap .footer .footer-item .footer-link::after {
    content: "";
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    display: block;
    background-color: #fff;
    border-radius: 100%;
    top: -8px;
    opacity: 0;
    -webkit-transition: all 0.4s;
    transition: all 0.4s
}

.footer-wrap .footer .footer-item.active .footer-link::after,
.footer-wrap .footer .footer-item:hover .footer-link::after {
    opacity: 1
}

.footer-wrap.shop {
    padding-left: 15px;
    padding-right: 15px;
    max-width: calc(100vw - 30px);
    border-radius: 4px;
    bottom: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));
    padding: calc(6px + (9 - 6) * ((100vw - 320px) / (1920 - 320))) 10px
}

@media only screen and (min-width: 767px) {
    .footer-wrap.shop {
        max-width: calc(600px - calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320))))
    }
}

.footer-wrap.shop .footer {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 0
}

.footer-wrap.shop .footer .footer-item {
    opacity: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.footer-wrap.shop .footer .footer-item>span {
    color: #fff
}

.footer-wrap.shop .footer .footer-item>span:last-of-type {
    font-weight: 600
}

.footer-wrap.shop .footer .footer-item>a {
    font-weight: 600;
    color: #fff;
    line-height: 21px;
    margin-right: -7px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: calc(5px + (10 - 5) * ((100vw - 320px) / (1920 - 320)))
}

@media only screen and (max-width: 400px) {
    .footer-wrap.shop .footer .footer-item>a {
        font-size: 14px !important
    }
}

.footer-wrap.shop .footer .footer-item>a svg {
    margin-bottom: -2.2px;
    width: calc(22px + (28 - 22) * ((100vw - 320px) / (1920 - 320)));
    height: calc(22px + (28 - 22) * ((100vw - 320px) / (1920 - 320)))
}

.footer-wrap.footer-button {
    padding-left: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));
    padding-right: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));
    max-width: calc(100vw - calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320))));
    border-radius: 4px;
    text-align: center;
    bottom: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)))
}

@media only screen and (min-width: 767px) {
    .footer-wrap.footer-button {
        max-width: calc(600px - calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320))))
    }
}

.footer-wrap.footer-button a {
    width: 100%;
    display: block;
    color: #fff;
    font-weight: 600
}


/* Main body */

.main-wrap {
    padding: 0 15px;
    background-color: #F1F1F1;
}

.mb-xxl {
    margin-bottom: calc(75px + (100 - 75) * ((100vw - 320px) / (1920 - 320)))
}


/* Search box */

.search-box {
    position: relative;
    margin-bottom: 2px;
}

.search-box input[type="search" i]::-webkit-search-cancel-button {
    display: none !important
}

.search-box i {
    position: absolute;
    font-size: calc(20px + (24 - 20) * ((100vw - 320px) / (1920 - 320)));
    top: 50%;
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.search-box .search {
    left: 16px;
    font-size: 21px
}

.search-box .mic {
    right: 16px;
    font-size: 23px
}

.search-box input {
    font-size: calc(15px + (17 - 15) * ((100vw - 320px) / (1920 - 320)));
    padding: 10px 47px;
    border-radius: 4px;
    color: #000000;
    background-color: #ffffff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .07) !important;
}

.search-box input::-webkit-input-placeholder {
    color: #cacaca
}

.search-box input::-moz-placeholder {
    color: #cacaca
}

.search-box input:-ms-input-placeholder {
    color: #cacaca
}

.search-box input::-ms-input-placeholder {
    color: #cacaca
}

.search-box input::placeholder {
    color: #cacaca
}

.search-box input:focus {
    border: 1px solid #ceefeb;
    background-color: #fafafa;
    color: #222
}


/* banner box */

.banner-section
{
    margin-bottom: 7px;
}

.banner-section .bg-size:before {
    padding-top: 68%
}

.banner-section .banner-box {
    border-radius: 10px;
    overflow: hidden;
    position: relative
}

.banner-section .banner-box img {
    height: 180px;
    width: 100%;
}

.banner-section .slick-track {
    padding: 1px 0;
    margin-left: -62px
}

@media only screen and (max-width: 475px) {
    .banner-section .slick-track {
        margin-left: -32px
    }
}

@media only screen and (max-width: 375px) {
    .banner-section .slick-track {
        margin-left: -15px
    }
}

@media only screen and (max-width: 375px) {
    .banner-section .slick-list {
        margin-left: -7px;
        margin-right: -7px
    }
}

.banner-section .slick-slide {
    padding: 0 12px !important;
    height: 180px;
}

@media only screen and (max-width: 375px) {
    .banner-section .slick-slide {
        padding: 0 7px !important
    }
}


/* cuisine section */

.progga_header {
    display: flex;
    justify-content: space-between;
}

.progga_header h5 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-secondary);
}

.progga_header a {
    color: rgb(0, 0, 0);
    font-size: 14px;
    border: 1px solid var(--color-secondary);
    margin: 0;
    padding: 6px 10px 0;
    border-radius: 5px;
}

.cuisine_banner {
    margin-top: 5px;
    margin-right: 10px;
}

.cuisine_banner img {
    height: 120px;
    border-radius: 5px;
}

.cuisine_banner p {
    text-align: center;
    font-size: 17px;
    padding-top: 5px;
    font-weight: 700;
}

.cuisine_banner_section .slick-track {
    padding: 1px 0;
    margin-left: -10px;
}


/* Category section */

.category_banner {
    margin-top: 5px;
    margin-right: 10px;
}

.category_box {
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border: 1px solid #ece7e5;
    background: white;
}

.category_box img {
    width: 50px;
    height: 50px;
    padding: 5px;
    display: block;
    text-align: center;
    border-radius: 50%;
}

.category_box p {
    text-align: center;
    font-size: 17px;
    padding-top: 5px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
}

.category_banner_section .slick-track {
    padding: 1px 0;
    margin-left: -10px;
}


/* Restaurant section */

.restaurant_banner {
    margin-top: 5px;
    margin-right: 10px;
}

.restaurant_box {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .15) !important;
    margin-bottom: 10px;
    border-radius: 6px;
    height: 243px;
}

.restaurant_box img {
    height: 140px;
    width: 100%;
    border-radius: 6px;
}

.restaurant_design {
    position: relative;
    background-color: white;
    height: 26px;
    width: 55%;
    border-top-right-radius: 40px;
    margin-top: -26px;
    z-index: 2 !important;
}

.restaurant_shop_no p {
    margin: 0;
    padding-top: 6px;
    padding-left: 16px;
    font-size: 16px;
    font-weight: 900;
    color: var(--color-secondary);
}

.restaurant_content {
    padding: 12px 15px;
}

.restaurant_content h5 {
    color: inherit;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    font-weight: 900;
}

.header_line {
    width: 100%;
    height: 1px;
    background-color: gainsboro;
    margin-top: -5px;
    margin-bottom: 1px;
}

.restaurant_cuisine {
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
}

.restaurant_cuisine li {
    padding: 2px;
    margin: 2px;
    font-size: 12px;
    padding: 2px;
    border-radius: 5px;
}

.restaurant_cuisine li::before {
    content: "\A";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-secondary);
    display: inline-block;
    margin-right: 5px;
    margin-top: -4px;
}

.header_p {
    color: #fff;
    background-color: #dc3545;
    text-align: center;
    border-radius: 2px;
}


/* Restaurant section */

.add_banner {
    margin-top: 10px;
    margin-right: 6px;
}

.add_banner img {
    height: 170px;
    width: 100%;
}


/* Food Information */

.food_box {
    background-color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    border-radius: 6px;
    height: 100%;
}

.food_box img {
    height: 120px;
    width: 100%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.food_info {
    padding: 5px;
}

.food_info h3 {
    font-size: 16px;
    font-weight: 800;
}

.food_info h5 {
    font-size: 14px;
    background-color: #D1D8BE;
    color: black;
    padding: 5px;
    border-radius: 1px;
}

.food_box_home .food_info h3{
    overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 39px;
}

.food_box_home .food_info h5{
    overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}


.food_info p span {
    background-color: rgb(109, 6, 41);
    padding: 3px 10px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    font-size: 16px;
}


/* Restaurant Details page */

.restaurant_banner_details {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 184px;
}

.restaurant-details-box {
    position: relative;
    background: white;
    border: 1px solid rgba(var(--black), 0.05);
    -webkit-box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 10px;
    margin-top: -80px;
    margin-left: 10px;
    margin-right: 10px;
    z-index: 1;
}

.restaurant-details-box .restaurant-head .name h3 {
    font-weight: 700;
    color: rgba(var(--font-default), 1);
}

.restaurant-details-box .restaurant-head .name h6 {
    margin-top: 5px;
    color: rgba(var(--font-heading), 1);
}

.product-box2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.product-box2 .product-content {
    width: calc(100% - 130px);
    padding: 15px;
}

.product-box2 .product-content .product-name {
    font-weight: 600;
    font-size: 14px;
    margin: 2px 0;
    color: rgba(var(--dark-text), 1);
}

.product-box2 .product-content .product-price p {
    background-color: rgb(16, 23, 83);
    padding: 3px 10px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
}

.product-box2 .product-img {
    position: relative;
    text-align: center;
}

.product-box2 .product-img .img {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    width: 130px;
    height: 100px;
}

.home_food_box {
    margin-top: 15px;
    margin-right: 10px;
}

.food_box_home
{
    height: 250px !important;
}

.section_padding_food_list
{
    padding-top: 6px;
}