/**
 * Template 8 — Flipkart-like mobile UI (≤767px)
 */
@media (max-width: 767px) {
    /* ===== Flipkart header stack (all Template 8 mobile pages) ===== */
    body.al_body_template_eight.al_flipkart_mobile_header {
        padding-bottom: 58px;
    }

    body.al_body_template_eight.al_flipkart_mobile_header header#al_new_design.flipkart-header-stack {
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #d7e9ff 0%, #e3eeff 70px, #fff 154px) !important;
        box-shadow: none;
    }

    body.al_flipkart_mobile_header .main-menu {
        order: 1;
        background: transparent;
        border: none;
        padding: 10px 0 0;
    }

    body.al_flipkart_mobile_header .flipkart-topbar-block {
        order: 2;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip {
        order: 3;
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
    }

    body.al_flipkart_mobile_header .menu-navigation.alThreeMenu {
        order: 99;
        display: none !important;
    }

    /* Row 1 — service cards (Flipkart / Minutes / …) */
    body.al_flipkart_mobile_header .al_count_tabs_new_design.al_vendor_tabs_top {
        margin: 0;
        padding: 0 8px;
    }

    body.al_flipkart_mobile_header .al_count_tabs_new_design.al_vendor_tabs_top ul.nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        border: none;
        margin: 0;
        /* keep the last card clear of the fixed menu button */
        padding: 0 38px 8px 0;
        scrollbar-width: none;
    }

    body.al_flipkart_mobile_header .al_count_tabs_new_design.al_vendor_tabs_top ul.nav-tabs::-webkit-scrollbar {
        display: none;
    }

    /* exactly four chips across, like Flipkart (the rest scroll) */
    body.al_flipkart_mobile_header .flipkart-service-card {
        flex: 0 0 calc((100% - 24px) / 4);
        margin: 0 !important;
        padding: 0 !important;
    }

    /* mobile mirrors the app's four tabs: logo (delivery), taxi, restaurant, grocery */
    body.al_flipkart_mobile_header .flipkart-hide-mobile {
        display: none !important;
    }

    body.al_flipkart_mobile_header .flipkart-brand-card { order: 1; }
    body.al_flipkart_mobile_header .flipkart-mobile-tab--2 { order: 2; }
    body.al_flipkart_mobile_header .flipkart-mobile-tab--3 { order: 3; }
    body.al_flipkart_mobile_header .flipkart-grocery-card { order: 4; }

    /* decorative slider underline — would sort to the front once order is in play */
    body.al_flipkart_mobile_header .navigation-tab-overlay_alnew_design {
        display: none !important;
        order: 99;
    }

    /* every chip is the same box: icon on top, label under (Flipkart) */
    body.al_flipkart_mobile_header .flipkart-service-card__link {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center;
        gap: 2px;
        width: 100%;
        height: 52px;
        padding: 3px 4px !important;
        border-radius: 10px !important;
        border: 1px solid #e3e8ef !important;
        background: #fff !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        color: #212121 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        overflow: hidden;
    }

    body.al_flipkart_mobile_header .flipkart-service-card__link.active,
    body.al_flipkart_mobile_header .flipkart-brand-card__link {
        background: #ffe500 !important;
        border-color: #ffe500 !important;
        color: #212121 !important;
    }

    /* Flipkart chips carry no active underline — the active state is the yellow fill.
       Needs the li+a in the selector to outweigh `.al_count_tabs_new_design li a.nav-link.active`. */
    body.al_flipkart_mobile_header .al_count_tabs_new_design li a.nav-link.flipkart-service-card__link,
    body.al_flipkart_mobile_header .al_count_tabs_new_design li a.nav-link.flipkart-service-card__link:hover {
        border: 1px solid #e3e8ef !important;
    }

    body.al_flipkart_mobile_header .al_count_tabs_new_design li a.nav-link.flipkart-service-card__link.active,
    body.al_flipkart_mobile_header .al_count_tabs_new_design li a.nav-link.flipkart-brand-card__link {
        border: 1px solid #ffe500 !important;
        background: #ffe500 !important;
        color: #212121 !important;
    }

    body.al_flipkart_mobile_header .al_count_tabs_new_design li a.nav-link .flipkart-service-card__icon {
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        flex-shrink: 0;
        /* crops the transparent padding baked into the uploaded icon artwork */
        overflow: hidden;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* beats the legacy `.al_count_tabs_new_design li a.nav-link img { width: 23px }` rule */
    body.al_flipkart_mobile_header .al_count_tabs_new_design li a.nav-link .flipkart-service-card__icon img {
        width: 38px !important;
        height: 38px !important;
        max-width: none !important;
        filter: none !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin: 0 !important;
        object-fit: contain;
    }

    body.al_flipkart_mobile_header .flipkart-service-card__text {
        display: block;
        width: 100%;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        font-size: 11px;
        font-weight: 700;
        /* fixed px, not a ratio — a ratio clipped the descenders in "Shopping" */
        line-height: 14px;
        flex-shrink: 0;
    }

    /* brand chip: same outer box as the other three, but the wordmark gets the whole tile */
    body.al_flipkart_mobile_header .flipkart-brand-card__link {
        padding: 3px !important;
    }

    body.al_flipkart_mobile_header .al_count_tabs_new_design li a.nav-link.flipkart-brand-card__link .flipkart-service-card__icon {
        width: 100% !important;
        height: 44px !important;
        line-height: 44px !important;
    }

    /* height:auto so a square/padded logo canvas still fills the tile width */
    body.al_flipkart_mobile_header .al_count_tabs_new_design li a.nav-link.flipkart-brand-card__link .flipkart-service-card__icon img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }

    body.al_flipkart_mobile_header .flipkart-brand-card__link .flipkart-service-card__text {
        display: none;
    }

    /* Row 2 & 3 — location + search */
    body.al_flipkart_mobile_header .top-header .navbar .row > .col-lg-6.al_z_index {
        display: none !important;
    }

    body.al_flipkart_mobile_header .top-header .navbar .row > .col-lg-6:first-child {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 12px 10px;
    }

    body.al_flipkart_mobile_header .navbar-brand {
        display: none !important;
    }

    /* Cart lives in the bottom nav (like Flipkart) — only the menu button stays on top */
    body.al_flipkart_mobile_header .al_mobile_menu .al_new_cart {
        display: none !important;
    }

    body.al_flipkart_mobile_header .al_mobile_menu {
        position: fixed !important;
        /* vertically centred on the 52px chip row */
        top: 19px;
        right: 6px;
        z-index: 10005;
        display: flex !important;
        align-items: center;
        background: transparent;
        padding: 0;
        margin: 0 !important;
    }

    body.al_flipkart_mobile_header .al_toggle-menu {
        width: 34px;
        height: 34px;
        top: 0;
    }

    body.al_flipkart_mobile_header .al_toggle-menu i {
        background: #212121;
        width: 20px;
        height: 2px;
    }

    body.al_flipkart_mobile_header .al_toggle-menu i:nth-child(1) { top: 11px; }
    body.al_flipkart_mobile_header .al_toggle-menu i:nth-child(2) { top: 17px; }
    body.al_flipkart_mobile_header .al_toggle-menu i:nth-child(3) { top: 23px; }

    body.al_flipkart_mobile_header .al_custom_head_map_box {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    body.al_flipkart_mobile_header .flipkart-location-row {
        margin-bottom: 8px;
    }

    /* reset legacy location styling (grey text, caret, divider, 50px line-height) */
    body.al_flipkart_mobile_header .flipkart-location-bar,
    body.al_flipkart_mobile_header .location-bar.d-inline-flex.align-items-center.position-relative {
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap !important;
        border: none !important;
        border-right: none !important;
        cursor: pointer;
        font-size: 12px;
        color: #212121;
        overflow: hidden;
    }

    body.al_flipkart_mobile_header .al_custom_head.site-topbar .flipkart-location-bar h2:after {
        display: none !important;
        content: none !important;
    }

    body.al_flipkart_mobile_header .al_custom_head.site-topbar .flipkart-location-bar i.fa-map-marker {
        color: #212121 !important;
        font-size: 14px;
        margin-right: 5px;
    }

    body.al_flipkart_mobile_header .al_custom_head.site-topbar .flipkart-location-bar h2.homepage-address {
        width: auto;
        max-width: 46%;
        flex: 0 1 auto;
        padding-right: 0;
        margin: 0;
        font-size: 12px !important;
        font-weight: 700;
        line-height: 1.3;
        color: #212121;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.al_flipkart_mobile_header .al_custom_head.site-topbar .flipkart-location-bar h2.homepage-address span {
        color: #212121 !important;
        font-weight: 700;
    }

    body.al_flipkart_mobile_header .flipkart-location-cta {
        flex: 0 0 auto;
        color: var(--theme-deafult, #2874f0);
        font-size: 12px;
        font-weight: 500;
        margin-left: 6px;
        white-space: nowrap;
    }

    body.al_flipkart_mobile_header .flipkart-search-row {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        min-height: 46px;
        background: #fff;
        border: 1px solid #b9d4ff;
        border-radius: 10px;
        padding: 0 14px !important;
        box-shadow: 0 1px 3px rgba(40, 116, 240, 0.1);
    }

    body.al_flipkart_mobile_header .flipkart-search-btn {
        padding: 0 10px 0 0 !important;
        color: var(--theme-deafult, #2874f0);
        box-shadow: none;
        font-size: 16px;
    }

    body.al_flipkart_mobile_header .flipkart-search-input {
        height: 44px;
        font-size: 14px;
        padding-left: 0;
        background: transparent;
    }

    body.al_flipkart_mobile_header .flipkart-search-input::placeholder {
        color: #878787;
    }

    /* Row 4 — category strip */
    body.al_flipkart_mobile_header .flipkart-header-catstrip__scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 6px 4px 0;
        scrollbar-width: none;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip__scroll::-webkit-scrollbar {
        display: none;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip__item {
        flex: 0 0 auto;
        width: 68px;
        text-decoration: none;
        color: #212121 !important;
        text-align: center;
        padding: 2px 2px 7px;
        position: relative;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip__icon {
        width: 34px;
        height: 34px;
        margin: 0 auto 4px;
        border-radius: 8px;
        background: transparent;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip__icon img {
        width: 26px;
        height: 26px;
        object-fit: contain;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip__label {
        display: block;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.2;
        color: #212121 !important;
        max-width: 64px;
        margin: 0 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip__item.is-active .flipkart-header-catstrip__icon {
        background: #e7f0ff;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip__item.is-active .flipkart-header-catstrip__label {
        font-weight: 700;
        color: #212121 !important;
    }

    body.al_flipkart_mobile_header .flipkart-header-catstrip__item.is-active::after {
        content: "";
        position: absolute;
        left: 8px;
        right: 8px;
        bottom: 0;
        height: 3px;
        border-radius: 3px 3px 0 0;
        background: var(--theme-deafult, #2874f0);
    }

    /* ===== Home page content (Flipkart-style) ===== */
    body.al_body_template_eight.al_flipkart_mobile_home {
        background: #f1f3f6;
        padding-bottom: 58px;
    }

    body.al_flipkart_mobile_home #our_vendor_main_div {
        background: #f1f3f6;
        padding-top: 0 !important;
    }

    /* ----- Banner ----- */
    body.al_flipkart_mobile_home section.home-slider-wrapper {
        background: #fff;
        margin-bottom: 8px;
        padding: 10px 12px !important;
    }

    body.al_flipkart_mobile_home .home-slider-wrapper .al_mobile_banner {
        padding: 0;
        min-height: 0 !important;
        height: auto !important;
        border-radius: 10px;
        overflow: hidden;
    }

    body.al_flipkart_mobile_home .home-slider-wrapper .al_mobile_banner .banner-img-outer img {
        border-radius: 10px;
        min-height: 140px !important;
        max-height: 170px !important;
        height: 160px !important;
        object-fit: cover;
    }

    body.al_flipkart_mobile_home .home-slider-wrapper .al_mobile_banner .carousel-control-prev,
    body.al_flipkart_mobile_home .home-slider-wrapper .al_mobile_banner .carousel-control-next {
        width: 26px;
        opacity: 0.85;
    }

    body.al_flipkart_mobile_home .al_desktop_banner {
        display: none !important;
    }

    body.al_flipkart_mobile_home .al_mobile_banner {
        display: block !important;
    }

    /* ----- White section blocks ----- */
    body.al_flipkart_mobile_home #our_vendor_main_div > section,
    body.al_flipkart_mobile_home #our_vendor_main_div .vendors > section {
        background: #fff;
        margin-bottom: 8px;
        padding: 14px 0 10px !important;
    }

    body.al_flipkart_mobile_home #our_vendor_main_div .top-heading,
    body.al_flipkart_mobile_home #our_vendor_main_div .al_top_heading,
    body.al_flipkart_mobile_home .vender_slider .top-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px 10px;
        margin: 0 !important;
        text-align: left !important;
    }

    body.al_flipkart_mobile_home .vender_slider .eccomerce-temp .top-heading.mt-5,
    body.al_flipkart_mobile_home .vender_slider .eccomerce-temp .top-heading.pt-5 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.al_flipkart_mobile_home #our_vendor_main_div .h2-heading,
    body.al_flipkart_mobile_home .vender_slider .h2-heading {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #212121 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        text-align: left !important;
        width: auto !important;
        margin: 0 !important;
        line-height: 1.25;
    }

    body.al_flipkart_mobile_home #our_vendor_main_div .top-heading a,
    body.al_flipkart_mobile_home .vender_slider .top-heading a {
        font-size: 13px;
        font-weight: 600;
        color: var(--theme-deafult, #2874f0);
        text-decoration: none;
    }

    /* Categories row — no big "CATEGORIES" title (Flipkart) */
    body.al_flipkart_mobile_home section.popular-brands.left-shape_.position-relative.bg-light-gray {
        background: #fff !important;
        padding: 8px 0 12px !important;
    }

    body.al_flipkart_mobile_home section.popular-brands .al_top_heading .h2-heading {
        display: none;
    }

    body.al_flipkart_mobile_home .categories_sliderEight.flipkart-hscroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 4px 16px 8px;
        scrollbar-width: none;
    }

    body.al_flipkart_mobile_home .categories_sliderEight.flipkart-hscroll::-webkit-scrollbar {
        display: none;
    }

    body.al_flipkart_mobile_home .flipkart-cat-tile {
        flex: 0 0 76px;
        max-width: 76px;
        margin: 0 !important;
        padding: 0;
        background: transparent;
        box-shadow: none;
        min-height: 0 !important;
    }

    body.al_flipkart_mobile_home .flipkart-cat-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 6px;
        border-radius: 8px;
        background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
        border: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.al_flipkart_mobile_home .flipkart-cat-icon img {
        width: 44px !important;
        height: 44px !important;
        object-fit: contain;
    }

    body.al_flipkart_mobile_home .flipkart-cat-label {
        font-size: 11px;
        font-weight: 500;
        color: #212121;
        text-align: center;
        line-height: 1.25;
        max-width: 76px;
        margin: 0 auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.al_flipkart_mobile_home .flipkart-cat-tile .al_desktop_cat_block {
        display: none !important;
    }

    /* Horizontal deal / vendor rails (Flipkart product row) */
    body.al_flipkart_mobile_home .flipkart-product-rail {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 0 16px 6px;
        scrollbar-width: none;
    }

    body.al_flipkart_mobile_home .flipkart-product-rail::-webkit-scrollbar {
        display: none;
    }

    body.al_flipkart_mobile_home .flipkart-product-rail > .col-md-12,
    body.al_flipkart_mobile_home .flipkart-product-rail > div {
        flex: 0 0 38%;
        max-width: 38%;
        min-width: 130px;
        padding: 0 !important;
    }

    body.al_flipkart_mobile_home .flipkart-product-rail .al_custom_vendors_sec,
    body.al_flipkart_mobile_home .flipkart-product-rail .deals-product.product-card-box {
        border: none;
        border-radius: 4px;
        height: auto !important;
        min-height: 0 !important;
        margin: 0;
        text-align: center;
        background: #fff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    body.al_flipkart_mobile_home .flipkart-product-rail .suppliers-img-outer {
        padding-bottom: 0 !important;
        height: 130px !important;
        min-height: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: none;
        border-radius: 0;
    }

    body.al_flipkart_mobile_home .flipkart-product-rail .suppliers-img-outer img {
        position: static !important;
        max-height: 110px;
        width: auto;
        max-width: 92%;
        object-fit: contain;
    }

    body.al_flipkart_mobile_home .flipkart-product-rail .supplier-rating {
        position: static;
        padding: 8px 8px 10px;
        background: #fafafa;
        text-align: center;
    }

    body.al_flipkart_mobile_home .flipkart-product-rail .supplier-rating h4 {
        font-size: 12px;
        font-weight: 600;
        margin: 0 0 6px;
        color: #212121;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.al_flipkart_mobile_home .flipkart-product-rail .supplier-rating > a {
        font-size: 11px;
        font-weight: 700;
        color: var(--theme-deafult, #2874f0) !important;
        text-transform: none;
    }

    body.al_flipkart_mobile_home .vender_slider .eccomerce-temp > .col-md-2,
    body.al_flipkart_mobile_home .vender_slider .eccomerce-temp > .col-md-10 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    body.al_flipkart_mobile_home .vender_slider .container {
        max-width: 100%;
        padding: 0;
    }

    /* flat section: no inset card behind the title, no grey tray behind the rail */
    body.al_flipkart_mobile_home section.suppliers-section.container.vender_slider {
        max-width: 100% !important;
        padding: 14px 0 10px !important;
        background: #fff;
    }

    body.al_flipkart_mobile_home section.suppliers-section.container.vender_slider .product-m.render_vendors {
        background: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        mix-blend-mode: normal;
    }

    body.al_flipkart_mobile_home .vender_slider .top-heading,
    body.al_flipkart_mobile_home .vender_slider .top-heading h2.h2-heading {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    body.al_flipkart_mobile_home .vender_slider .suppliers-img-outer.position-relative {
        background: #fff !important;
        border: none !important;
    }

    /* ----- Best sellers: 3-up tile grid (Flipkart "Best of…" block) ----- */
    body.al_flipkart_mobile_home .best-seller-eccomerce.container {
        max-width: 100%;
        padding: 0;
    }

    body.al_flipkart_mobile_home .best-seller-eccomerce .top-heading h2.col.h2-heading {
        padding: 0 !important;
    }

    body.al_flipkart_mobile_home .best-seller-eccomerce .row > .col-12 {
        padding: 0;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0 12px 4px;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid > div {
        width: 100%;
        max-width: 100%;
        padding: 0 !important;
        margin: 0;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid .deals-product.product-card-box {
        width: 100%;
        margin: 0;
        height: auto !important;
        min-height: 0 !important;
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        box-shadow: none;
        overflow: hidden;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid .suppliers-img-outer {
        padding-bottom: 0 !important;
        height: 86px !important;
        min-height: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #f7f8fa !important;
        border: none !important;
        border-radius: 0 !important;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid .suppliers-img-outer img {
        position: static !important;
        width: auto;
        height: auto;
        max-width: 82%;
        max-height: 70px;
        object-fit: contain;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid .supplier-rating {
        position: static !important;
        top: auto;
        padding: 7px 6px 9px !important;
        background: #fff;
        text-align: center;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid .supplier-rating h4 {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.3;
        color: #212121;
        margin: 0 0 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid .supplier-rating > a {
        display: block;
        font-size: 10px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.2px;
        color: #388e3c !important;
        text-transform: uppercase;
    }

    body.al_flipkart_mobile_home .flipkart-best-grid .rating-number {
        top: 4px;
        right: 4px;
        font-size: 9px;
        padding: 1px 5px;
    }

    /* ----- Bottom navigation (Flipkart) ----- */
    body.al_flipkart_mobile_header .flipkart-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10003;
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
        padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0));
        height: 56px;
    }

    body.al_flipkart_mobile_header .flipkart-bottom-nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #878787;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.2;
        padding: 2px 4px;
        position: relative;
    }

    body.al_flipkart_mobile_header .flipkart-bottom-nav__item i {
        font-size: 20px;
        margin-bottom: 2px;
    }

    body.al_flipkart_mobile_header .flipkart-bottom-nav__item.is-active,
    body.al_flipkart_mobile_header .flipkart-bottom-nav__item.is-active i {
        color: var(--theme-deafult, #2874f0);
    }

    body.al_flipkart_mobile_header .flipkart-bottom-nav__badge {
        position: absolute;
        top: 2px;
        left: 50%;
        margin-left: 4px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--theme-deafult, #2874f0);
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        line-height: 16px;
        text-align: center;
    }

    body.al_flipkart_mobile_home .offset-top-home,
    body.al_flipkart_mobile_home .al_offset-top-home {
        min-height: 0;
    }
}

@media (min-width: 768px) {
    body.al_body_template_eight .flipkart-cat-icon,
    body.al_body_template_eight .flipkart-cat-label {
        display: none !important;
    }

    body.al_body_template_eight .flipkart-bottom-nav,
    body.al_body_template_eight .flipkart-header-catstrip,
    body.al_body_template_eight .flipkart-location-cta {
        display: none !important;
    }
}
