/* media query */
.container {
    max-width: 1230px !important;
}

.dashboard_navbar {
    box-shadow: 0 15px 40px -20px rgba(40, 44, 63, .15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #fff;
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
    transition: transform 0.3s ease;
    contain: size layout style;
    padding: 0 20px;
}

.bottom_nav_Mobile a {
    color: #3d4152;
    font-weight: 500;
}

@media (min-width: 320px) and (max-width: 767px) {
    .dashboard_navbar .navbar-brand {
        display: none;
    }
}

.dashboard_navbar .navbar-brand img {
    width: 7rem;
}

.dashboard_navbar .eat_currentAddress_head {
    display: flex;
    max-width: 260px;
    align-items: center;
}

@media (min-width: 320px) and (max-width: 481px) {
    .dashboard_navbar .eat_currentAddress_head {
        display: block;
        position: relative;
    }
}

.dashboard_navbar .eat_currentAddress_head span:nth-child(1) {
    color: rgb(245, 73, 73);
    font-weight: 600;
    position: relative;
    font-size: 14px;
}

.dashboard_navbar .eat_currentAddress_head span:nth-child(1):before {
    content: '';
    position: absolute;
    border-bottom: 2px solid rgb(245, 73, 73);
    bottom: -2px;
    width: 100%;
}

.dashboard_navbar .eat_currentAddress_head span:nth-child(2) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #686b78;
    font-size: 14px;
    margin-left: 10px;
}

@media (min-width: 320px) and (max-width: 481px) {
    .dashboard_navbar .eat_currentAddress_head span:nth-child(2) {
        width: 250px;
        display: block;
        margin-top: p;
        position: relative;
        top: 6px;
        margin-left: 0;
        font-size: 12px;
    }
}

@media (min-width: 320px) and (max-width: 481px) {
    .dashboard_navbar .eat_currentAddress_head span:nth-child(3) {
        position: absolute;
        top: 2px;
        left: 50px;
    }
}

.dashboard_navbar .navbar-collapse {
    justify-content: flex-end;
}

@media (min-width: 320px) and (max-width: 767px) {
    .dashboard_navbar .navbar-collapse {
        flex-grow: unset !important;
        flex: unset !important;
    }
}

.dashboard_navbar .navbar-collapse .navMenu li {
    margin-right: 40px;
}

@media (min-width: 320px) and (max-width: 1023px) {
    .dashboard_navbar .navbar-collapse .navMenu li {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .dashboard_navbar .navbar-collapse .navMenu li {
        margin-right: 11px;
    }
}

.dashboard_navbar .navbar-collapse .navMenu li:last-child {
    margin-right: 0;
}

.dashboard_navbar .navbar-collapse .navMenu li a {
    color: #3d4152;
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.dashboard_navbar .navbar-collapse .navMenu li a:hover {
    color: rgb(245, 73, 73);
}

.dashboard_navbar .navbar-collapse .navMenu li a:hover svg {
    fill: rgb(245, 73, 73);
    stroke: rgb(245, 73, 73);
}

.dashboard_navbar .navbar-collapse .navMenu li a svg {
    position: relative;
    top: -2px;
    fill: #3d4152;
    stroke-width: 0;
}

.dashboard_navbar .navbar-collapse .navMenu li a span {
    padding-left: 10px;
}

.dashboard_navbar .navbar-collapse .navMenu li a .cart_count {
    position: relative;
    padding: 0;
}

.dashboard_navbar .navbar-collapse .navMenu li a .cart_count .cart_count_value {
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-75%, -50%);
    transform: translate(-75%, -50%);
    font-size: 13px;
    font-weight: 600;
}

@media (min-width: 320px) and (max-width: 1023px) {
    .dashboard_navbar .navbar-collapse .navMenu .li_ShowMobile {
        display: inline-block !important;
        margin-right: 0 !important;
    }
}

.cat_svg {
    fill: #fff !important;
    stroke-width: 2px !important;
    stroke: #282c3f;
}

.bottom_nav_Mobile {
    display: none;
    z-index: 1000;
}

@media (min-width: 320px) and (max-width: 1023px) {
    .bottom_nav_Mobile {
        background: #fff;
        position: fixed;
        height: 63px;
        width: 100%;
        bottom: 0;
        box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, .1);
        display: flex;
        padding-top: 7px;
    }

    .bottom_nav_Mobile a {
        flex: 1;
        text-align: center;
    }

    .bottom_nav_Mobile a span {
        display: block;
    }
}














/* oudh card */

.oudhhead {
    margin-right: 27.5%;
    margin-top: 7%;
    text-align: center;
}

.oudhhead h1 {
    font-size: 50px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.restaurant-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 700px;
    margin: 1% auto;
    display: flex;
    flex-direction: column;
    height: auto;
    /* Allow the card to adjust height based on content */
}

.restaurant-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ratings {
    display: flex;
    align-items: center;
    gap: 5px;
    color: green;
}

.star {
    font-size: 20px;
}

.price {
    font-weight: bold;
    font-size: 18px;
}

.cuisine a {
    color: #e63946;
    text-decoration: none;
}

.cuisine a:hover {
    text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
    width: 40%;
}

.dropbtn {
    background-color: #f5f5f5;
    border: none;
    color: black;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-icon {
    margin-left: 10px;
    font-size: 12px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 200px;
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.delivery-time {
    color: gray;
    font-size: 14px;
}

.delivery-info {
    margin-top: 10px;
    color: gray;
    font-size: 14px;
    display: flex;
    gap: 10px;
}

.oudh img {
    height: 250px;
    width: 280px;
    margin-left: 55%;
    margin-top: -32%;
}

@media (max-width: 768px) {
    .oudhhead {
        margin-left: 0;
        margin-top: 5%;
        text-align: center;
    }

    .oudhhead h1 {
        font-size: 36px;
    }

    .restaurant-card {
        padding: 15px;
        height: auto;
        /* Allow the card to adjust height based on content */
    }

    .oudh img {
        height: 200px;
        width: 240px;
        margin-left: 50%;
        margin-top: 5%;
    }
}

@media (max-width: 600px) {
    .oudhhead {
        margin-left: 0;
        margin-top: 5%;
        text-align: center;
    }

    .oudhhead h1 {
        font-size: 28px;
    }

    .restaurant-card {
        padding: 15px;
        margin: 5% auto;
        height: auto;
    }

    .dropbtn {
        font-size: 14px;
        padding: 8px;
    }

    .dropdown {
        width: 100%;
        /* Make the dropdown take full width on small screens */
    }

    .delivery-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .oudh img {
        height: 150px;
        width: 180px;
        margin: 20px auto;
        display: block;
    }
}










/* menu img */
.menu {
    margin-left: 39%;
}

.menu img {
    height: 35%;
    width: 35%;
}





/* food card */

.food-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* height: 270px; */
}

.food-details {
    max-width: 60%;
}

.bestseller {
    color: #e63946;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.bestseller::before {
    content: "★";
    font-size: 14px;
    margin-right: 5px;
}

.food-details h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.price {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.ratings {
    display: flex;
    align-items: center;
    gap: 5px;
    color: green;
    margin-bottom: 10px;
}

.star {
    font-size: 20px;
}

.review-count {
    color: gray;
    font-size: 14px;
}

.description {
    color: #666;
    margin-top: 10px;
}

.food-image {
    position: relative;
    max-width: 30%;
    text-align: center;
}

.food-image img {
    border-radius: 10px;
    width: 105%;
    height: 200px;
}

.add-button {
    background-color: white;
    color: red;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid black;
}

.customisable {
    color: gray;
    font-size: 14px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .food-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .food-details {
        max-width: 100%;
    }

    .food-image {
        max-width: 100%;
        margin-top: 20px;
    }

    .add-button {
        bottom: 0;
    }
}

@media (max-width: 480px) {
    .food-details h2 {
        font-size: 20px;
    }

    .price {
        font-size: 16px;
    }

    .add-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}





/* quantity */



.quantity-buttons {
    position: absolute;
    bottom: -20px;
    left: 30%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-buttons .minus-button,
.quantity-buttons .plus-button {
    background-color: rgb(245, 73, 73);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.quantity {
    font-size: 16px;
    color: black;
}














/* faq str */


main {
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 30px;
    width: 100%;
    background-color: #fff;
    margin: 0 auto;
    margin-top: 50px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.live-search-box {
    width: 100%;
    display: block;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #3498db;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

h1 {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 32px;
    font-weight: 300;
}

.topic {
    padding: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: solid 1px #ebebeb;
    width: 50%;
    margin-left: 26%;
}

.open {
    cursor: pointer;
    display: block;
    padding: 0px;
}

.open:hover {
    opacity: 0.7;
}

.expanded {
    background-color: #f5f5f5;
    transition: all .3s ease-in-out;
}

.ptag {
    display: none;
}

.question {
    padding-top: 30px;
    padding-right: 40px;
    padding-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #526ee4;
}

.answer {
    font-size: 16px;
    line-height: 26px;
    display: none;
    margin-bottom: 30px;
    text-align: justify;
    padding-left: 20px;
    padding-right: 20px;
}

.faq-t {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    display: inline-block;
    /* float: right; */
    margin-left: 100%;
    position: relative;
    top: -55px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: transparent;
    border-left: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    transition: all .3s ease-in-out;
}

.faq-o {
    top: -50px;
    -moz-transform: rotate(-224deg);
    -ms-transform: rotate(-224deg);
    -webkit-transform: rotate(-224deg);
    transform: rotate(-224deg);
}

@media only screen and (max-width: 480px) {
    .faq-t {
        display: none;
    }

    .question {
        padding-right: 0px;
    }

    main {
        padding: 10px;
    }

    .answer {
        margin-bottom: 30px;
        padding-left: 0px;
        padding-right: 0px;
    }
}









/* product add nav */


.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 26%;
    width: 50%;
    background-color: rgb(245, 73, 73);
    color: white;
    text-align: center;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.bottom-nav-text {
    margin-right: 10px;
}

.view-cart-button {
    /* background-color: white; */
    color: red;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.view-cart-button:hover {
    background-color: #e0e0e0;
}




















.badge {
    background-color: transparent;
    color: red;
    border: 2px solid black;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    /* Ensure this is set to position the badge correctly */
    top: 9px;
    left: -5px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


















/* Hide the modal by default */
.modal {
    display: none;
    position: absolute;
    top: 50px;
    margin-left: 70%;
    margin-top: 5%;
    width: 350px !important; /* Decrease the width */
    height: 100vh !important; /* Increase the height */
    background-color: white;
    border: none !important;
    z-index: 1000;
    /* overflow: hidden;  */
}

/* Modal content */
.modal-content {
    padding: 15px;
    max-height: 90vh; /* Limit height of content to fit within the modal */
    overflow-y: scroll; 
}
/* Style for Webkit browsers (Chrome, Safari) */
.modal-content::-webkit-scrollbar {
    width: 8px; /* Adjust width for narrow scrollbar */
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light gray background for the track */
}

.modal-content::-webkit-scrollbar-thumb {
    background: #000; /* Black color for the thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
}

/* Style for Firefox */
.modal-content {
    scrollbar-width: thin; /* Make scrollbar thin */
    scrollbar-color: #000 #f1f1f1; /* Black thumb and light gray track */
}

/* Close button styling */
.close {
    float: right !important;
    font-size: 24px;
    cursor: pointer;
}

/* Show the modal when modal-active class is added */
.modal-active {
    display: block !important;
}
