@media (min-width: 992px) {
    header .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-nav.nav-left,
    .navbar-nav.nav-right {
        max-width: 40%;
    }

    .maintain-page {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    .maintain-page main {
        padding-top: clamp(15px, 3vh, 40px) !important;
        padding-bottom: clamp(15px, 3vh, 40px) !important;
    }

    .hero-bottom-img {
        margin-top: -50px !important;
    }
}

@media (max-width: 991px) {

    /* Header CSS */
    .offcanvas .navbar-nav .nav-item {
        border-bottom: 1px solid #EDEBE4;
    }

    .offcanvas .navbar-nav .nav-item:last-child {
        border-bottom: 0px;
    }

    .offcanvas .navbar-nav .nav-item>.nav-link {
        font-size: 16px;
        padding: 14px 0px;
        position: relative;
    }

    .offcanvas .navbar-nav .nav-item>.nav-link::before {
        content: "\ea61";
        font-family: "tabler-icons";
        font-size: 22px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0px;
    }

    .offcanvas .profile-card {
        padding: 16px;
        background: rgb(245 78 0 / 3%);
        border: 1px solid rgb(245 78 0 / 40%);
        border-radius: 8px;
    }

    .profile-card::before {
        content: "\ea61";
        font-family: "tabler-icons";
        font-size: 28px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 8px;
    }

    .profile-card .profile-img {
        height: 50px;
        width: 50px;
        object-fit: cover;
        border-radius: 100%;
    }

    .profile-card h5 {
        font-size: 18px;
        font-weight: 600;
    }

    .profile-card .member {
        font-size: 12px;
        color: var(--dark-gray);
    }

    .offcanvas-header .img-fluid {
        max-width: 80px;
    }

    ul.navbar-nav.navbar-ftr {
        position: absolute;
        bottom: 15px;
        left: 0px;
        right: 0px;
        margin: 0px !important;
        padding: 0px 15px;
    }

    ul.navbar-nav.navbar-ftr>.nav-item {
        width: calc(50% - 4px);
    }

    .logout-btn {
        color: var(--bs-body-color);
        gap: 6px;
    }

    .offcanvas .navbar-nav .nav-item.login-btn {
        border: 0px;
    }

    .offcanvas .navbar-nav .nav-item.login-btn>.nav-link {
        background: #F9F7F3;
        border: 1px solid #EDEBE4;
        color: var(--bs-body-color) !important;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 6px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        line-height: normal;
    }

    .offcanvas .navbar-nav .nav-item.login-btn>.nav-link::before {
        content: none;
    }

    /* Header CSS */
    .dlcdl-wrapper .dlcdl-sidebar {
        width: 100%;
        max-width: 500px;
    }

    .meal-foot.ord-cutoff-foot {
        margin: 20px auto 0px;
    }

    .plan-card strong {
        font-size: 1.5rem;
    }

    .maintain-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .header-scroll-progress {
        display: none;
    }

    .delivery-map {
        min-height: 320px !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .fs-40 {
        font-size: 34px;
    }

    .fl-menu-text>h1 {
        font-size: 46px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0px;
        font-size: 12px;
    }

    .badge-card.badge-right,
    .badge-card.badge-bottom {
        right: -20px;
    }

    .menu-wrapper .category-box {
        padding: 0px 15px;
    }

    .category-wrapper .category-item {
        padding: 30px 8px;
    }

    .category-item>a {
        width: 118px;
        height: 150px;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .display-5 {
        font-size: 32px;
    }

    .fl-menu-text>h1 {
        font-size: 54px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0px 8px;
        font-size: 14px;
    }

    .badge-card.badge-right,
    .badge-card.badge-bottom {
        right: -20px;
    }

    .menu-wrapper .category-box {
        padding: 0px 15px;
    }

    .category-wrapper .category-item {
        padding: 30px 8px;
    }

    .category-item>a {
        width: 138px;
        height: 160px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .fs-18 {
        font-size: 16px;
    }

    .fs-28 {
        font-size: 22px;
    }

    .fs-40 {
        font-size: 32px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0px;
        font-size: 12px;
    }

    .breadcrumb-area {
        padding: 100px 0px;
    }

    .breadcrumb-title>h1 {
        font-size: 46px;
    }

    .breadcrumb-title>p {
        font-size: 16px;
    }

    .fl-menu-text>h1 {
        font-size: 36px;
    }

    .badge-card.badge-top {
        left: -50px;
    }

    .badge-card.badge-right,
    .badge-card.badge-bottom {
        right: -20px;
    }

    .custom-breadcrumb {
        font-size: 16px;
    }

    /* Hide scrollbar for a cleaner look */
    .custom-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb-item+.breadcrumb-item {
        padding-left: 2px;
    }

    .menu-wrapper .category-box {
        padding: 20px 40px 20px;
        border-bottom: 1px solid #EDEBE4;
    }

    .category-wrapper {
        padding: 0px 15px;
        justify-content: center;
    }

    .category-wrapper .category-item {
        padding: 15px 0px;
        border: 0px;
    }

    .category-item>a {
        width: 120px;
        height: 150px;
    }

    .custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
        font-size: 18px;
        padding: 0px 8px;
    }

    .das-sidebar {
        width: 240px;
    }

    .das-main {
        width: calc(100% - 264px);
    }

    .stat-card {
        padding: 16px;
    }

    .p-4 {
        padding: 16px !important;
    }

    .theme-table thead>tr>th,
    .activity-foot {
        padding: 12px 16px;
    }

    .theme-table tbody>tr>td {
        padding: 22px 16px;
    }

    .what-we-offer::after,
    .what-we-offer::before {
        display: none;
    }

    .offer-card {
        min-height: 320px;
    }
}

@media (min-width: 768px) {

    #menuBtn,
    .help-box.help-mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .fs-5 {
        font-size: 16px !important;
    }

    .fs-18 {
        font-size: 16px;
    }

    .fs-22 {
        font-size: 18px;
    }

    .fs-28 {
        font-size: 22px;
    }

    .display-1 {
        font-size: 32px;
    }

    .das-sidebar,
    .das-main {
        width: 100%;
    }

    .breadcrumb-area {
        padding: 60px 0px;
    }

    .breadcrumb-title>h1>div {
        display: none;
    }

    .breadcrumb-title>h1 {
        font-size: 32px;
    }

    .breadcrumb-title>p {
        font-size: 16px;
    }

    .blog-intro .blog-arrow {
        height: 44px;
        width: 44px;
        font-size: 26px;
        top: -22px;
    }

    .see-our-dishes::before,
    .see-our-dishes::after,
    .maintain-details::after,
    .maintain-details::before,
    .maintain-page::after,
    .maintain-page::before {
        display: none !important;
    }

    .menu-wrapper .category-box {
        padding: 20px 20px;
        border-bottom: 1px solid #EDEBE4;
    }

    .category-wrapper {
        justify-content: center;
        padding: 15px 15px;
    }

    .category-wrapper .category-item {
        width: calc(50% - 10px);
        border: 0px;
        padding: 2px 0px;
    }

    .category-item>a {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .wlc-box {
        padding: 24px;
    }

    .das-sidebar .sidebar>.nav,
    .das-sidebar .help-box {
        display: none;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 16px !important;
    }

    .custom-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
        padding: 0 5px;
    }

    .breadcrumb-item+.breadcrumb-item {
        padding-left: 0;
        display: flex;
        align-items: center;
    }

    .custom-breadcrumb .breadcrumb-item a,
    .custom-breadcrumb .breadcrumb-item i,
    .custom-breadcrumb .breadcrumb-item a:hover,
    .custom-breadcrumb .breadcrumb-item.active {
        font-size: 13px !important;
        display: flex;
        align-items: center;
    }

    .offer-card {
        min-height: 300px;
    }

    .journey-card {
        min-height: 220px;
    }

    .journey-number {
        font-size: 120px;
    }

    .faint-map {
        min-height: auto;
        height: 160px;
    }

    .faint-map>img {
        height: 100%;
        width: 100%;
    }

    .bldr-meal-card .meal-image .meal-badge {
        font-size: 8px;
    }

    .bldr-meal-card .meal-card .meal-image {
        height: 90px;
    }

    .bldr-meal-card .meal-content .meal-title {
        font-size: 10px;
    }

    .bldr-meal-card .nutrition-box p {
        font-size: 6px;
    }

    .bldr-meal-card .meal-content .meal-desc {
        display: none;
    }

    .bldr-meal-card .meal-content .nutrition {
        border: 0px;
        margin-top: 8px;
        padding: 0px;
    }

    .bldr-meal-card .nutrition .nutrition-box {
        background: transparent;
        padding: 0px;
        display: flex;
        flex-direction: column;
    }

    .bldr-meal-card .nutrition .nutrition-box>h6 {
        order: 2;
        margin: 4px 0px 0px;
        font-size: 8px;
    }

    .person-counter {
        padding: 8px 10px;
        max-width: 200px;
    }

    .person-counter .counter-btn {
        height: 36px;
        width: 36px;
        font-size: 18px;
    }

    .counter-value {
        font-size: 22px;
        line-height: normal;
    }

    .counter-label {
        font-size: 14px;
    }

    .extra-add-ons .etr-ons-item {
        padding: 10px 12px;
    }

    .cs-protein .cp-box {
        padding: 8px 12px;
        font-size: 14px;
    }

    .avatar-container>img {
        height: 40px;
        width: 40px;
    }

    .footer-title {
        font-size: 32px;
    }

}

@media (max-width: 575px) {
    .fs-40 {
        font-size: 32px;
    }

    .fs-34 {
        font-size: 28px;
    }

    .sts-foot .btn {
        width: 100%;
    }

    ul.navbar-nav.navbar-ftr .nav-item>a {
        font-size: 12px !important;
    }

    .theme-tab .nav-tabs .nav-link {
        width: 50%;
    }

    .theme-tab .nav-tabs.meal-tabs .nav-link {
        width: 25%;
        padding: 6px 0px;
        font-size: 14px;
    }

    .btn-theme-primary,
    .btn-theme-outline,
    .btn-theme-outline-dark,
    .btn-theme-outline-light,
    .btn-theme-dark {
        padding: 12px 20px;
    }

    .badge-card {
        padding: 8px 10px !important;
        font-size: 12px;
    }

    .badge-card.badge-top {
        left: 0;
        top: 20px;
    }

    .badge-card.badge-right {
        right: 0;
        top: -10px;
    }

    .badge-card.badge-bottom {
        right: 0;
        bottom: 10px;
    }

    .what-we-offer::before,
    .what-we-offer::after {
        display: none;
    }

    .answer-btn span {
        font-size: 13px !important;
    }

    .bowl-badge,
    .bowl-badge .fs-6 {
        font-size: 12px !important;
    }

    .payment-tabs .nav-tabs .nav-link {
        width: 100%;
    }
}

@media (max-width: 479px) {

    .plan-card .d-flex.text-start>div {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .plan-card .d-flex.text-start>div:first-child {
        padding-left: 0 !important;
    }

    .plan-card .d-flex.text-start>div:last-child {
        padding-right: 0 !important;
    }

    .plan-card .d-flex.text-start .fs-14 {
        font-size: 12px !important;
    }

    .plan-card .d-flex.text-start .fs-12 {
        font-size: 10px !important;
    }

    .meal-foot {
        flex-wrap: wrap;
        justify-content: space-evenly !important;
    }

    .meal-foot-savings {
        text-align: center !important;
    }

    #eligibilityModal .city-select-btn {
        flex: 1;
    }
}

@media (min-width: 1600px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1440px;
    }
}

/* ==================================================
   MOBILE FAQ: Bottom Navigation Bar 
   ================================================== */
@media (max-width: 991px) {

    /* Reorder the row so FAQs appear before the questions block */
    .section-cream .row {
        display: flex;
        flex-direction: column;
    }

    .section-cream .row>.col-lg-3 {
        order: 2;
        margin-top: 30px;
    }

    .section-cream .row>.col-lg-9 {
        order: 1;
    }

    /* Reset sidebar */
    .faq-sidebar {
/*         position: static !important; */
        margin-bottom: 0;
    }

    /* Fixed bottom bar, hidden by default via transform */
    .faq-nav {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff !important;
        z-index: 9999;
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
        padding: 0 !important;
        border: none !important;
        border-radius: 16px 16px 0 0 !important;
        overflow-x: auto;
        overflow-y: hidden;
        transform: translateY(100%);
        transition: transform 0.35s ease-in-out !important;
    }

    /* Class added by JS to slide the bar up */
    .faq-nav.show-mobile-nav {
        transform: translateY(0);
    }

    /* Stretch items to match height */
    .faq-nav>ul {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
        margin: 0;
        padding: 8px 10px !important;
        white-space: nowrap;
    }

    /* Increased width so text fits nicely */
    .faq-nav>ul>li {
        flex-shrink: 0;
        width: 95px;
        display: block !important;
        align-self: stretch;
    }

    /* Align everything to the top so icons and text match exactly */
    .faq-nav>ul>li a {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        font-size: 8px !important;
        line-height: 1.2 !important;
        text-align: center;
        padding: 8px 4px !important;
        color: #8c8c8c !important;
        background: transparent !important;
        border-radius: 5px !important;
        gap: 4px;
        transition: all 0.3s;
        border: none !important;
        box-shadow: none !important;
        white-space: normal;
        height: 100%;
    }

    /* Icon styling */
    .faq-nav>ul>li a i {
        font-size: 20px !important;
        margin: 0 !important;
    }

    /* Active & Hover states (Removed bold to stop height shifting) */
    .faq-nav>ul>li.active a,
    .faq-nav>ul>li a:hover {
        color: #F54E00 !important;
        background: rgba(245, 78, 0, 0.08) !important;
    }

    /* Hide scrollbar for native app feel */
    .faq-nav::-webkit-scrollbar,
    .faq-nav>ul::-webkit-scrollbar {
        display: none;
    }
}