@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
/* font-family: 'Playfair Display', serif;
font-family: 'Poppins', sans-serif; */

body {
    font-family: "Poppins", sans-serif;
    text-rendering: optimizeLegibility !important;
    background: #fff;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
/* General Styles */
.dish-box-wp {
    padding: 10px;
}

.dish-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dish-image-container {
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
}

.dish-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.dish-image-container:hover img {
    transform: scale(1.1);
}

.dish-rating {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.dish-title .h3-title {
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.dish-title .h3-title:hover {
    color: #ce9838;
}

.dist-bottom-row ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
}

.dist-bottom-row ul li {
    display: flex;
    align-items: center;
}

.dish-add-btn,
.dish-view-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #ce9838;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.dish-add-btn:hover,
.dish-view-btn:hover {
    background: #ff9966;
    box-shadow: 0 4px 8px rgba(255, 130, 67, 0.3);
}

.dish-add-btn i,
.dish-view-btn i {
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .dish-box {
        padding: 15px;
    }

    .dish-image-container {
        margin-bottom: 10px;
    }

    .dish-title .h3-title {
        font-size: 18px;
    }

    .dish-rating {
        font-size: 16px;
    }

    .dish-add-btn,
    .dish-view-btn {
        width: 35px;
        height: 35px;
    }

    .dish-add-btn i,
    .dish-view-btn i {
        font-size: 16px;
    }

    /* Two-column layout on mobile */
    .dish-box-wp {
        width: 50%;
        padding: 10px;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) {
    .dish-box-wp {
        width: 33.3333%;
    }
}

.dish-add-btn .fa {
    color: #ffffff;
}
.dish-view-btn .fa {
    color: #ffffff;
}
/* Add a new container for the cart */
.containercart {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 200; /* Ensure this is high enough */
    pointer-events: none; /* Prevents clicking on the container itself */
}

/* Existing .cart styles */
.cart {
    color: #000;
    position: absolute; /* Change to absolute within the container */
    width: 400px;
    max-width: 80vw;
    height: 100vh;
    background-color: #fff;
    top: 0;
    right: -100%; /* Initial state */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure the buttons are at the bottom */
    transition: right 1s;
    z-index: 250; /* Ensure this is higher than other elements */
    pointer-events: auto; /* Allow clicking on the cart content */
    padding: 20px;
}

.cart.visible {
    right: 0; /* Show cart */
}

/* Header styling */
.cart h4 {
    color: #ce9838;
    padding: 20px;
    margin: 0;
}

/* Item list styling */
.cart .listCart {
    flex: 1; /* Take up remaining space */
    overflow: auto;
    overflow-y: auto; /* Enable vertical scrolling if content exceeds max-height */
}

.cart .listCart .item {
    display: grid;
    grid-template-columns: 50px 1fr 70px;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cart .listCart img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

.cart .listCart .item .name {
    font-weight: bold;
}

.quantity {
    display: flex;
    justify-content: end;
    align-items: center;
}
.quantity-value {
    display: block;
    width: 50px;
    text-align: center;
}

.increase-quantity {
    width: 30px;
    height: 30px;
    background-color: #e1e8ee;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}
.decrease-quantity {
    width: 30px;
    height: 30px;
    background-color: #e1e8ee;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.cart .listCart::-webkit-scrollbar {
    width: 0;
}

/* Buttons at the bottom */
.cart .buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 20px;
}

.cart .buttons .close {
    background-color: #ce9838;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    flex: 1;
}

.cart .buttons .order {
    background-color: #06a428;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    flex: 1;
}

.table-number {
    margin-top: 20px;
    text-align: left;
}

.table-number input {
    width: calc(100% - 40px);
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
/* Ensure the bottom-cart has a lower z-index */
.bottom-cart {
    z-index: 100; /* Lower than .containercart and .cart */
}

.site-header.sticky_head {
    background: rgb(255 255 255 / 80%);
    padding: 20px 0;
    border-color: #f2f2f2;
    backdrop-filter: blur(20px);
}
.site-header.sticky_head,
.site-header {
    background: rgb(255 255 255 / 90%);
}
.site-header {
    position: fixed;
    padding: 30px 0;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: 0.5s;
    border-bottom: 1px solid transparent;
}

.site-header.sticky_head {
    background: rgb(255 255 255 / 80%);
    padding: 20px 0;
    border-color: #f2f2f2;
    backdrop-filter: blur(20px);
}

.main-navigation {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    align-items: center;
}

.main-navigation .menu li {
    display: inline-block;
    position: relative;
    margin: 0 6px;
}

.main-navigation .menu li:first-child {
    margin-left: 0;
}

.main-navigation .menu li:last-child {
    margin-right: 0;
}

.main-navigation .menu li:hover > ul,
.main-navigation .menu li.focus > ul {
    opacity: 1;
    margin-top: 6px;
    visibility: visible;
}

a {
    background-color: transparent;
    text-decoration: none !important;
    outline: none !important;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .menu ul a {
    width: 200px;
}

.main-navigation .menu li:hover > ul,
.main-navigation .menu li.focus > ul {
    left: auto;
}

.main-navigation .menu li a {
    display: flex;
    transition: 0.3s;
    position: relative;
    justify-content: center;
    align-items: center;
    color: #000;
    text-transform: capitalize;
    font-weight: 500;
    padding: 5px 18px;
    border-radius: 30px;
}

.main-navigation .menu li a:hover,
.main-navigation .menu li .active-menu,
.main-navigation .menu .sub-menu li .active-sub-menu {
    color: #ce9838;
    background: #f3f3f5;
    box-shadow: inset 8px 8px 12px #e2e2e2, inset -8px -8px 12px #ffffff;
}

.header-right {
    margin-left: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.header-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    border-radius: 10px;
    position: relative;
    margin-left: 20px;
    transition: 0.3s;
    box-shadow: inset 6px 6px 7px #dadada, inset -6px -6px 7px #ffffff;
    align-items: center;
}

.header-btn:hover {
    background: linear-gradient(145deg, #dcdcdc, #ffffff);
    box-shadow: 20px 20px 60px #cfcfd0, -20px -20px 60px #ffffff;
}

.form-input::placeholder {
    color: rgba(70 69 71 / 0.7);
}

.fa-star {
    color: #ce9838;
}

* {
    -webkit-tap-highlight-color: transparent;
}

.uil {
    color: #ce9838;
}

@media screen and (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

@media (min-width: 1500px) {
    .container {
        max-width: 1368px;
    }
}

@media (min-width: 2100px) {
    .container {
        max-width: 1400px;
    }
    p,
    body,
    button,
    input {
        font-size: 18px;
        line-height: 32px;
    }
}

@media (max-width: 1399px) {
    .header-right {
        margin-left: 20px;
    }
    .main-navigation .menu li {
        margin: 0 3px;
    }
}

@media (max-width: 1199px) {
    .header-btn {
        margin-left: 10px;
    }
    .header-right {
        margin-left: 10px;
    }
    .main-navigation .menu li {
        margin: 0;
    }
    .main-navigation .menu li a {
        padding: 4px 15px;
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    .section {
        padding-top: 85px;
        padding-bottom: 85px;
    }
    .for-des {
        display: none !important;
    }
    .for-mob {
        display: block !important;
    }
    .site-header .container {
        max-width: 100%;
        padding: 0;
        height: 100%;
    }
    .site-header .container .row {
        margin: 0;
        height: 100%;
    }
    .site-header .container .row .col-lg-2 {
        width: auto;
        padding: 0;
        height: 100%;
        position: absolute;
        top: 0;
        left: 30px;
        z-index: 2;
        display: flex;
        align-items: center;
    }
    .menu-toggle {
        position: absolute;
        top: 50%;
        right: 30px;
        border: none;
        outline: none !important;
        background: transparent;
        width: 40px;
        height: 40px;
        transform: translate(0, -50%);
        z-index: 100;
        box-shadow: inset 6px 6px 7px #dadada, -6px -6px 10px #ffffff;
        border-radius: 10px;
        padding: 0 8px;
    }
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 4px;
        background: #ce9838;
        margin-bottom: 5px;
        transition: 0.3s;
        border-radius: 5px;
        position: relative;
    }

    .menu-toggle span:last-child {
        margin: 0;
    }
    .toggled .menu-toggle span:nth-child(1) {
        transform: rotate(45deg);
        top: 5px;
    }
    .toggled .menu-toggle span:nth-child(2) {
        transform: rotate(-45deg);
        top: -4px;
    }
    .toggled .menu-toggle span:nth-child(3) {
        opacity: 0;
        height: 0;
    }
    .toggled .header-menu {
        transform: translateY(0);
    }
    .header-menu {
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding-top: max(9vh, 30px);
        padding-left: max(6vh, 30px);
        z-index: 99;
        transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        transform: translateY(-100%);
        background-image: url(images/blog-pattern-bg.png);
        background-position: center;
        background-color: #f3f3f5;
    }
    .main-navigation .menu li {
        display: block;
        float: none;
        margin: 0;
        margin-bottom: max(20px, 4vh);
    }
    .main-navigation .menu li a {
        display: inline-block;
        font-size: max(16px, 2vh);
    }
    .main-navigation .menu .sub-menu {
        max-width: 220px;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    .main-navigation .menu .sub-menu li {
        margin-bottom: 5px;
    }
    .main-navigation .menu li:last-child {
        margin: 0;
    }
    .main-navigation .menu .sub-menu li a {
        color: #ce9838;
    }

    .header-btn {
        margin: 0;
        margin-right: 70px;
    }
    .site-header {
        padding: 20px 0;
    }
    .site-header.sticky_head,
    .site-header {
        background: rgb(255 255 255 / 90%);
    }
    body {
        height: auto !important;
    }
}

@media (max-width: 575px) {
    .container,
    .container-fluid {
        padding: 0 30px;
    }
}

@media (max-width: 400px) {
    .container,
    .container-fluid {
        padding: 0 15px;
    }
    .header-btn {
        margin-right: 56px;
    }
    .menu-toggle {
        right: 15px;
    }
    .site-header .container .row .col-lg-2 {
        left: 15px;
    }
}

.form-input::placeholder {
    color: rgba(70 69 71 / 0.7);
}

.form-input {
    width: 100%;
    height: 50px;
    outline: none !important;
    padding: 10px 15px;
    color: #0d0d25;
    -webkit-appearance: none;
    border-radius: 10px;
    border: none;
    background: #f8f8f8;
    box-shadow: inset 6px 6px 8px #dadada, inset -6px -6px 8px #ffffff;
}

@media (max-width: 1199px) {
    .header-search-form .form-input {
        width: 100%;
    }
}
@media (max-width: 991px) {
    .section {
        padding-top: 85px;
        padding-bottom: 85px;
    }
}
.section {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
@media (max-width: 400px) {
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
.bottom-cart {
    background: #ce9838;
    border-radius: 30px;
}
.bottom-cart .btn {
    background-color: #fff;
    color: #ce9838;
}
/* **************** */
.sec-sub-title {
    text-transform: uppercase;
    display: inline-block;
    background: #f3f3f5;
    padding: 3px 20px;
    border-radius: 60px;
    color: #ce9838;
    font-size: 14px;
}

.h2-title {
    font-size: 46px;
    line-height: 56px;
    margin-bottom: 15px;
    text-transform: capitalize;
    position: relative;
}

.repeat-img {
    background-size: contain;
    background-repeat: repeat;
}

.menu-tab-wp {
    margin-bottom: 80px;
}

.menu-tab ul {
    padding: 10px;
    display: inline-block;
    border-radius: 60px;
    background: linear-gradient(145deg, #ececec, #ffffff);
    box-shadow: 28px 28px 55px #d4d4d4, -28px -28px 55px #ffffff;
    position: relative;
    z-index: 2;
}

.menu-tab ul li,
.menu-tab ul .filter-active {
    display: inline-flex;
    text-transform: capitalize;
    font-size: 18px;
    line-height: normal;
    cursor: pointer;
    padding: 10px 26px;
    border-radius: 30px;
    transition: 0.3s;
    justify-content: center;
    align-items: center;
}

.filter-active {
    position: absolute;
    left: 0;
    top: 12px;
    min-height: 50px;
    z-index: -1;
}

.menu-tab ul li img {
    margin-right: 10px;
    position: relative;
    top: 1px;
}

.menu-tab ul .filter-active {
    color: #ffffff;
    background: linear-gradient(145deg, #ce9838, #ce9838);
}

.menu-list-row .bydefault_show .dish-box-wp {
    display: inline-block !important;
}

.nav-tabs {
    border-bottom: 0;
}
.nav-item button {
    color: #fff;
}
.nav-item button {
    color: #000;
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    white-space: nowrap; /* Prevent line breaks */
    overflow: hidden;
    text-overflow: ellipsis; /* Show ellipsis for overflowed text */
    border-radius: 5px;
}
.tabsBox {
    width: 100%;
    display: flex;
    gap: 15px;
    scroll-behavior: smooth;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
    list-style: none;
    padding-left: 0; /* Remove default padding */
    white-space: nowrap; /* Prevent line breaks */
}
.tabsBox::-webkit-scrollbar {
    height: 8px; /* For WebKit browsers */
}

.tabsBox::-webkit-scrollbar-thumb {
    background-color: #fff;
    background-image: linear-gradient(315deg, #fff 0%, #ce9838 74%);
    border-radius: 10px;
}

.tabsBox::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.tabsBox.dragging {
    cursor: grab;
    scroll-behavior: auto;
}

.tab {
    padding: 10px 25px;
    margin-right: 0; /* Remove margin-right to avoid extra space */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Wrap long words onto the next line */
}

.tab:first-child {
    margin-left: 0; /* Remove left margin for the first tab */
}

@media (max-width: 768px) {
    .tabsBox {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    .tab {
        width: 100%; /* Make tabs full width */
        text-align: center;
        padding: 10px 0; /* Adjust padding */
    }
}
