

/* ── 5-BUTTON MOBILE BOTTOM NAVIGATION BAR (MOBILE-ONLY AUTO-PATCHED) ── */
.mobile_bottom_nav {
    display: none !important;
}

@media (min-width: 768px) {
    .mobile_bottom_nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .mobile_bottom_nav {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
        background: #ffffff !important;
        box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08) !important;
        border-top: 1px solid #e2e8f0 !important;
        border-radius: 18px 18px 0 0 !important;
        padding: 6px 8px 6px 8px !important;
    }

    .mobile_bottom_nav .nav_container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    .mobile_bottom_nav .nav_item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: #475569 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        flex: 1 1 0 !important;
        text-align: center !important;
        transition: color 0.2s ease !important;
        position: relative !important;
        cursor: pointer !important;
    }

    .mobile_bottom_nav .nav_item .icon_box {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 2px !important;
        position: relative !important;
    }

    .mobile_bottom_nav .nav_item .icon_box svg {
        width: 20px !important;
        height: 20px !important;
        stroke: #475569 !important;
        transition: stroke 0.2s ease !important;
    }

    .mobile_bottom_nav .nav_item:hover,
    .mobile_bottom_nav .nav_item.active {
        color: #38761d !important;
    }

    .mobile_bottom_nav .nav_item:hover .icon_box svg,
    .mobile_bottom_nav .nav_item.active .icon_box svg {
        stroke: #38761d !important;
    }

    .mobile_bottom_nav .home_wrapper {
        position: relative !important;
        top: -14px !important;
        flex: 0 0 54px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .mobile_bottom_nav .home_fab {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        background: #38761d !important;
        background-color: #38761d !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
        border: 3px solid #ffffff !important;
        color: #ffffff !important;
        transition: transform 0.2s ease, background 0.2s ease !important;
        text-decoration: none !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .mobile_bottom_nav .home_fab:hover {
        transform: scale(1.06) !important;
        background: #2c5e17 !important;
        background-color: #2c5e17 !important;
    }

    .mobile_bottom_nav .home_fab svg {
        stroke: #ffffff !important;
        fill: none !important;
        width: 22px !important;
        height: 22px !important;
    }

    .mobile_bottom_nav .home_fab_glow,
    .mobile_bottom_nav .home_fab_ripple,
    .home_fab_glow,
    .home_fab_ripple,
    .home_wrapper::before,
    .home_wrapper::after,
    .home_fab::before,
    .home_fab::after {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .mobile_bottom_nav a[href*="checkout"].nav_item,
    .mobile_bottom_nav .nav_item .cart_badge {
        display: flex !important;
    }

    .mobile_bottom_nav .cart_badge {
        position: absolute !important;
        top: -6px !important;
        right: -8px !important;
        background: #dc2626 !important;
        color: #ffffff !important;
        border-radius: 50% !important;
        width: 17px !important;
        height: 17px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        border: 1.5px solid #ffffff !important;
    }
    .mobile_bottom_nav .cart_badge b {
        color: #ffffff !important;
        font-size: 10px !important;
    }
}

.mobile_bottom_nav .nav_container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

.mobile_bottom_nav .nav_item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    flex: 1 1 0 !important;
    text-align: center !important;
    transition: color 0.2s ease !important;
    position: relative !important;
    cursor: pointer !important;
}

.mobile_bottom_nav .nav_item .icon_box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 2px !important;
    position: relative !important;
}

.mobile_bottom_nav .nav_item .icon_box svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #475569 !important;
    transition: stroke 0.2s ease !important;
}

.mobile_bottom_nav .nav_item:hover,
.mobile_bottom_nav .nav_item.active {
    color: #38761d !important;
}

.mobile_bottom_nav .nav_item:hover .icon_box svg,
.mobile_bottom_nav .nav_item.active .icon_box svg {
    stroke: #38761d !important;
}

.mobile_bottom_nav .home_wrapper {
    position: relative !important;
    top: -14px !important;
    flex: 0 0 54px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.mobile_bottom_nav .home_fab {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #38761d !important;
    background-color: #38761d !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    border: 3px solid #ffffff !important;
    color: #ffffff !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 10 !important;
}

.mobile_bottom_nav .home_fab:hover {
    transform: scale(1.06) !important;
    background: #2c5e17 !important;
    background-color: #2c5e17 !important;
}

.mobile_bottom_nav .home_fab svg {
    stroke: #ffffff !important;
    fill: none !important;
    width: 22px !important;
    height: 22px !important;
}

.mobile_bottom_nav .home_fab_glow,
.mobile_bottom_nav .home_fab_ripple,
.home_fab_glow,
.home_fab_ripple,
.home_wrapper::before,
.home_wrapper::after,
.home_fab::before,
.home_fab::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mobile_bottom_nav a[href*="checkout"].nav_item,
.mobile_bottom_nav .nav_item .cart_badge {
    display: flex !important;
}

.mobile_bottom_nav .cart_badge {
    position: absolute !important;
    top: -6px !important;
    right: -8px !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 17px !important;
    height: 17px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    border: 1.5px solid #ffffff !important;
}
.mobile_bottom_nav .cart_badge b {
    color: #ffffff !important;
    font-size: 10px !important;
}


/* ── 5-BUTTON MOBILE BOTTOM NAVIGATION BAR (#38761D GREEN THEME) ── */
@keyframes fabRippleWaveGreen {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.85; }
    60% { transform: translate(-50%, -50%) scale(1.28); opacity: 0.28; }
    100% { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
}

@keyframes fabGlowPulseGreen {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.9; }
}

.mobile_bottom_nav {
    display: none !important;
}

@media (min-width: 768px) {
    .mobile_bottom_nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .mobile_bottom_nav {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
        background: #ffffff !important;
        box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08) !important;
        border-top: 1px solid #e5e7eb !important;
        border-radius: 18px 18px 0 0 !important;
        padding: 6px 4px 6px 4px !important;
        height: 60px !important;
    }

    .mobile_bottom_nav .nav_container {
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .mobile_bottom_nav .nav_item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: #334155 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        flex: 1 1 0 !important;
        text-align: center !important;
        transition: color 0.2s ease !important;
        position: relative !important;
        cursor: pointer !important;
    }

    .mobile_bottom_nav .nav_item .icon_box {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 2px !important;
        position: relative !important;
    }

    .mobile_bottom_nav .nav_item .icon_box svg {
        width: 20px !important;
        height: 20px !important;
        stroke: #334155 !important;
        transition: stroke 0.2s ease !important;
        display: block !important;
    }

    .mobile_bottom_nav .nav_item .nav_text {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #334155 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .mobile_bottom_nav .nav_item:hover,
    .mobile_bottom_nav .nav_item.active {
        color: #38761D !important;
    }

    .mobile_bottom_nav .nav_item:hover .icon_box svg,
    .mobile_bottom_nav .nav_item.active .icon_box svg,
    .mobile_bottom_nav .nav_item:hover .nav_text,
    .mobile_bottom_nav .nav_item.active .nav_text {
        stroke: #38761D !important;
        color: #38761D !important;
    }

    .mobile_bottom_nav .home_wrapper {
        position: relative !important;
        top: -16px !important;
        margin: 0 !important;
        margin-top: 0 !important;
        flex: 0 0 60px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 25 !important;
    }

    .mobile_bottom_nav .home_fab {
        position: relative !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
    }

    .mobile_bottom_nav .home_fab_glow {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 62px !important;
        height: 62px !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        transform: translate(-50%, -50%) !important;
        border-radius: 50% !important;
        background: radial-gradient(circle, rgba(56, 118, 29, 0.3) 0%, rgba(56, 118, 29, 0.06) 60%, transparent 100%) !important;
        animation: fabGlowPulseGreen 2.5s infinite ease-in-out !important;
        pointer-events: none !important;
        z-index: 1 !important;
        box-shadow: none !important;
    }

    .mobile_bottom_nav .home_fab_ripple {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        transform: translate(-50%, -50%) !important;
        border-radius: 50% !important;
        border: 2px solid rgba(56, 118, 29, 0.6) !important;
        animation: fabRippleWaveGreen 2s infinite cubic-bezier(0.2, 0.6, 0.35, 1) !important;
        pointer-events: none !important;
        z-index: 2 !important;
        box-shadow: none !important;
    }

    .mobile_bottom_nav .home_fab_ring,
    .home_fab_ring,
    .mobile_bottom_nav .home_wrapper::before,
    .mobile_bottom_nav .home_wrapper::after,
    .mobile_bottom_nav .home_fab::before,
    .mobile_bottom_nav .home_fab::after,
    .home_wrapper::before,
    .home_wrapper::after,
    .home_fab::before,
    .home_fab::after {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .mobile_bottom_nav .home_fab_inner {
        position: relative !important;
        z-index: 5 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        border-radius: 50% !important;
        border: 3.5px solid #ffffff !important;
        background: linear-gradient(135deg, #468c26 0%, #38761D 55%, #2c5e17 100%) !important;
        background-color: #38761D !important;
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(56, 118, 29, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12) !important;
        transition: transform 0.15s ease !important;
    }

    .mobile_bottom_nav .home_fab:active .home_fab_inner {
        transform: scale(0.92) !important;
    }

    .mobile_bottom_nav .home_fab_inner svg {
        stroke: #ffffff !important;
        fill: none !important;
        width: 22px !important;
        height: 22px !important;
        display: block !important;
    }

    .mobile_bottom_nav a[href*="checkout"].nav_item,
    .mobile_bottom_nav .nav_item .cart_badge {
        display: flex !important;
    }

    .mobile_bottom_nav .cart_badge {
        position: absolute !important;
        top: -6px !important;
        right: -8px !important;
        background: #38761D !important;
        background-color: #38761D !important;
        color: #ffffff !important;
        border-radius: 50% !important;
        width: 17px !important;
        height: 17px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        border: 1.5px solid #ffffff !important;
        box-shadow: 0 1px 4px rgba(56, 118, 29, 0.4) !important;
    }
    .mobile_bottom_nav .cart_badge b {
        color: #ffffff !important;
        font-size: 10px !important;
    }
}
