

/* ==================== Theme: nutri_plus
        :root {
            --primary: #f97316;
            --primary-hover: #ea580c;
            --accent-cyan: #06b6d4;
            --accent-green: #10b981;
            --dark-bg: #090d16;
            --dark-card: #131b2e;
            --dark-border: #1e293b;
            --text-light: #f8fafc;
            --text-muted: #94a3b8;
            --radius-md: 14px;
            --radius-lg: 22px;
            --shadow-glow: 0 10px 30px rgba(249, 115, 22, 0.25);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', sans-serif !important;
        }

        .las, .lar, .lab, .la, i[class*="la-"], [class^="la-"] {
            font-family: "Line Awesome Free", "LineAwesome" !important;
            font-weight: 900 !important;
            font-style: normal !important;
        }

        body {
            background-color: var(--dark-bg);
            color: var(--text-light);
            overflow-x: hidden;
            line-height: 1.7;
        }

        /* High-Contrast Readability Overrides: Eliminate all dark-on-dark muddy text */
        .text-muted, p.text-muted, span.text-muted, small.text-muted {
            color: #cbd5e1 !important; /* Bright crisp silver, highly legible on dark backgrounds */
        }

        /* Top Announcement */
        .nutri-top-bar {
            background: #0d1527;
            border-bottom: 1px solid #1e293b;
            color: #f8fafc !important;
            font-size: 0.88rem;
            padding: 8px 0;
            font-weight: 600;
        }
        .nutri-top-bar span {
            color: #f8fafc !important;
        }

        /* Navbar */
        .nutri-nav {
            background: rgba(9, 13, 22, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--dark-border);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 14px 0;
        }
        .brand-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        .brand-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--primary), #fb923c);
            color: #fff;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            box-shadow: var(--shadow-glow);
        }
        .brand-title-box h1 {
            font-size: 1.35rem;
            font-weight: 900;
            color: #ffffff;
            margin: 0;
            line-height: 1.1;
        }
        .brand-title-box small {
            font-size: 0.7rem;
            color: var(--primary);
            font-weight: 800;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .nav-links a {
            color: #cbd5e1;
            font-weight: 600;
            text-decoration: none;
            padding: 6px 14px;
            border-radius: 8px;
            transition: all 0.2s ease;
            font-size: 0.95rem;
        }
        .nav-links a:hover {
            color: var(--primary);
            background: rgba(249, 115, 22, 0.1);
        }

        .lang-switch-btn {
            background: rgba(255, 255, 255, 0.05);
            color: #ffffff;
            border: 1px solid var(--dark-border);
            padding: 6px 14px;
            border-radius: 20px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .lang-switch-btn:hover {
            background: var(--primary);
            border-color: var(--primary);
        }

        /* Hero */
        .nutri-hero {
            padding: 60px 0 80px;
            background: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.12) 0%, rgba(9, 13, 22, 1) 70%);
            position: relative;
        }
        .badge-nutri {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(249, 115, 22, 0.12);
            color: var(--primary);
            border: 1px solid rgba(249, 115, 22, 0.3);
            padding: 6px 16px;
            border-radius: 30px;
            font-size: 0.88rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        .hero-title {
            font-size: 3rem;
            font-weight: 900;
            line-height: 1.25;
            color: #ffffff;
            margin-bottom: 20px;
        }
        .hero-title span {
            background: linear-gradient(135deg, var(--primary), #fb923c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero-desc {
            font-size: 1.15rem;
            color: var(--text-muted);
            margin-bottom: 30px;
            max-width: 580px;
        }

        .hero-img-box {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
            border: 2px solid var(--dark-border);
        }
        .hero-img-box img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s ease;
        }
        .hero-img-box:hover img {
            transform: scale(1.03);
        }

        .floating-badge {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: rgba(19, 27, 46, 0.95);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(249, 115, 22, 0.4);
            padding: 12px 20px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* Goal Matcher Widget */
        .goal-box {
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-lg);
            padding: 35px;
            margin: 50px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .goal-tab {
            padding: 12px 24px;
            border-radius: 30px;
            border: 1px solid var(--dark-border);
            background: rgba(255, 255, 255, 0.03);
            color: var(--text-light);
            cursor: pointer;
            font-weight: 700;
            transition: all 0.2s;
            margin: 6px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .goal-tab.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #ffffff;
            box-shadow: var(--shadow-glow);
        }

        /* Product Card */
        .product-card {
            background: var(--dark-card);
            border: 1px solid var(--dark-border);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .product-card:hover {
            transform: translateY(-6px);
            border-color: var(--primary);
            box-shadow: var(--shadow-glow);
        }
        .card-img-wrap {
            position: relative;
            background: #0f172a;
            padding: 25px;
            text-align: center;
        }
        .card-img-wrap img {
            max-height: 200px;
            object-fit: contain;
            transition: transform 0.4s ease;
        }
        .product-card:hover .card-img-wrap img {
            transform: scale(1.08);
        }
        .badge-lab {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(16, 185, 129, 0.2);
            color: var(--accent-green);
            border: 1px solid rgba(16, 185, 129, 0.4);
            font-size: 0.72rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 20px;
        }
        .card-body-wrap {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        .card-cat {
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 5px;
        }
        .card-title {
            font-size: 1.15rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 8px;
        }
        .card-desc {
            font-size: 0.88rem;
            color: var(--text-muted);
            margin-bottom: 16px;
            flex-grow: 1;
        }
        .macro-tags {
            display: flex;
            gap: 8px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }
        .macro-tag {
            background: rgba(255, 255, 255, 0.05);
            font-size: 0.75rem;
            padding: 3px 8px;
            border-radius: 6px;
            color: #e2e8f0;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .card-footer-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
            padding-top: 15px;
            border-top: 1px solid var(--dark-border);
        }
        .price-text {
            font-size: 1.35rem;
            font-weight: 900;
            color: var(--primary);
        }
        .btn-add {
            background: var(--primary);
            color: #ffffff;
            border: none;
            padding: 9px 18px;
            border-radius: 10px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .btn-add:hover {
            background: var(--primary-hover);
            color: #fff;
        }

        /* Cart Drawer */
        .cart-drawer {
            position: fixed;
            top: 0;
            left: -420px;
            width: 400px;
            max-width: 90vw;
            height: 100vh;
            background: var(--dark-card);
            box-shadow: 5px 0 35px rgba(0,0,0,0.5);
            z-index: 2000;
            transition: left 0.35s ease;
            display: flex;
            flex-direction: column;
            border-right: 1px solid var(--dark-border);
        }
        [dir="rtl"] .cart-drawer {
            left: auto;
            right: -420px;
            transition: right 0.35s ease;
            border-right: none;
            border-left: 1px solid var(--dark-border);
        }
        .cart-drawer.open {
            left: 0;
        }
        [dir="rtl"] .cart-drawer.open {
            right: 0;
        }
        .cart-header {
            padding: 20px;
            border-bottom: 1px solid var(--dark-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(0,0,0,0.2);
        }
        .cart-body {
            padding: 20px;
            overflow-y: auto;
            flex-grow: 1;
        }
        .cart-footer {
            padding: 20px;
            border-top: 1px solid var(--dark-border);
            background: rgba(0,0,0,0.3);
        }
        .cart-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.6);
            z-index: 1999;
            display: none;
        }
        .cart-backdrop.show {
            display: block;
        }

        /* High-Contrast Footer */
        .nutri-footer {
            background: #050811;
            border-top: 1px solid #1e293b;
            color: #e2e8f0 !important;
            padding: 65px 0 35px;
            margin-top: 80px;
        }
        .nutri-footer h4, .nutri-footer h6 {
            color: #ffffff !important;
            font-weight: 800 !important;
        }
        .nutri-footer p, .nutri-footer span, .nutri-footer small, .nutri-footer li {
            color: #e2e8f0 !important;
            font-size: 0.95rem;
            line-height: 1.8;
        }
        .nutri-footer a {
            color: #f8fafc !important;
            text-decoration: none;
            transition: all 0.2s;
            font-weight: 500;
        }
        .nutri-footer a:hover {
            color: var(--primary) !important;
            text-decoration: underline;
        }
        .nutri-footer .border-top {
            border-color: #1e293b !important;
            color: #cbd5e1 !important;
        }

        @media (max-width: 991px) {
            body {
                padding-bottom: 78px !important;
            }
            .hero-title {
                font-size: 2.2rem;
            }
            /* Fixed App Bottom Navigation */
            .mobile-app-bottom-nav {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                height: 64px;
                background: rgba(15, 23, 42, 0.95);
                backdrop-filter: blur(25px);
                -webkit-backdrop-filter: blur(25px);
                border-top: 1px solid rgba(16, 185, 129, 0.3);
                display: flex;
                justify-content: space-around;
                align-items: center;
                z-index: 99999;
                box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
                padding-bottom: env(safe-area-inset-bottom, 0px);
            }
            .app-nav-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                color: #94a3b8;
                text-decoration: none;
                font-size: 0.72rem;
                font-weight: 700;
                cursor: pointer;
                transition: all 0.2s ease;
                flex: 1;
                padding: 6px 0;
            }
            .app-nav-item i {
                font-size: 1.4rem;
                margin-bottom: 2px;
                transition: transform 0.2s ease;
            }
            .app-nav-item.active, .app-nav-item:hover {
                color: #d1fae5;
            }
            .app-nav-item.active i {
                color: #10b981;
                transform: translateY(-2px);
            }
            .app-nav-featured {
                position: relative;
            }
            .featured-icon-bubble {
                width: 46px;
                height: 46px;
                border-radius: 50%;
                background: linear-gradient(135deg, #059669, #10b981);
                color: #ffffff;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: -24px;
                border: 3px solid #0f172a;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
                font-size: 1.35rem;
                transition: transform 0.25s ease;
            }
            .app-nav-featured:hover .featured-icon-bubble {
                transform: scale(1.1) translateY(-2px);
            }
            .app-nav-badge {
                position: absolute;
                top: -6px;
                right: -8px;
                background: #10b981;
                color: #ffffff;
                font-size: 0.65rem;
                font-weight: 800;
                padding: 1px 6px;
                border-radius: 12px;
                border: 2px solid #0f172a;
            }
            /* Native App Toast */
            .app-toast-container {
                position: fixed;
                bottom: 80px;
                left: 50%;
                transform: translateX(-50%) translateY(100px);
                opacity: 0;
                transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
                z-index: 100000;
                pointer-events: none;
                width: 90%;
                max-width: 380px;
            }
            .app-toast-container.show {
                transform: translateX(-50%) translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .app-toast-content {
                background: rgba(15, 23, 42, 0.96);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                color: #ffffff;
                padding: 12px 18px;
                border-radius: 14px;
                border: 1px solid rgba(16, 185, 129, 0.35);
                display: flex;
                align-items: center;
                gap: 12px;
                box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
                font-size: 0.88rem;
                font-weight: 700;
            }
        }

        @media (max-width: 991px) {
            .hero-title {
                font-size: 2.2rem;
            }
        }
        @media (max-width: 768px) {
            .hero-title {
                font-size: 1.85rem;
            }
            .nutri-top-bar .container {
                justify-content: center !important;
                text-align: center;
            }
        }

        /* Mobile Hamburger & Offcanvas Drawer */
        .mobile-menu-btn {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            border: 1px solid rgba(16, 185, 129, 0.4);
            background: rgba(15, 23, 42, 0.85);
            color: #10b981;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            line-height: 1;
        }
        .mobile-menu-btn:hover, .mobile-menu-btn:active {
            background: rgba(16, 185, 129, 0.25);
            border-color: #10b981;
            color: #ffffff;
            transform: scale(1.05);
        }

        .mobile-drawer-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            z-index: 100001;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .mobile-drawer-backdrop.active {
            opacity: 1;
            pointer-events: auto;
        }

        .mobile-app-drawer {
            position: fixed;
            top: 0;
            bottom: 0;
            width: 320px;
            max-width: 86vw;
            background: #0f172a;
            color: #ffffff;
            z-index: 100002;
            display: flex;
            flex-direction: column;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
            transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        /* RTL default */
        [dir="rtl"] .mobile-app-drawer, html[dir="rtl"] .mobile-app-drawer, body[dir="rtl"] .mobile-app-drawer {
            right: 0;
            left: auto;
            transform: translateX(100%);
            border-right: 1px solid rgba(16, 185, 129, 0.25);
            border-left: none;
        }
        [dir="rtl"] .mobile-app-drawer.open, html[dir="rtl"] .mobile-app-drawer.open, body[dir="rtl"] .mobile-app-drawer.open {
            transform: translateX(0);
        }
        /* LTR */
        [dir="ltr"] .mobile-app-drawer, html[dir="ltr"] .mobile-app-drawer, body[dir="ltr"] .mobile-app-drawer {
            left: 0;
            right: auto;
            transform: translateX(-100%);
            border-left: 1px solid rgba(16, 185, 129, 0.25);
            border-right: none;
        }
        [dir="ltr"] .mobile-app-drawer.open, html[dir="ltr"] .mobile-app-drawer.open, body[dir="ltr"] .mobile-app-drawer.open {
            transform: translateX(0);
        }

        .drawer-header {
            padding: 20px 18px 16px;
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(15, 23, 42, 0.95));
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .drawer-brand-card {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .drawer-brand-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: linear-gradient(135deg, #059669, #10b981);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 1.35rem;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
        }
        .drawer-brand-title {
            font-size: 1.15rem;
            font-weight: 900;
            color: #ffffff;
            line-height: 1.2;
        }
        .drawer-brand-sub {
            font-size: 0.72rem;
            color: #6ee7b7;
            font-weight: 600;
        }
        .drawer-close-btn {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.2s ease;
        }
        .drawer-close-btn:hover {
            background: rgba(16, 185, 129, 0.3);
            border-color: #10b981;
            color: #ffffff;
        }

        .drawer-body {
            padding: 16px 14px 100px;
            flex: 1;
        }
        .drawer-search input {
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #ffffff;
            border-radius: 10px;
            font-size: 0.85rem;
            padding: 8px 12px;
        }
        .drawer-search input:focus {
            background: rgba(255, 255, 255, 0.12);
            border-color: #10b981;
            color: #ffffff;
            box-shadow: none;
        }

        .drawer-section-title {
            font-size: 0.76rem;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: #10b981;
            font-weight: 800;
            margin: 18px 8px 8px;
        }
        .drawer-menu-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .drawer-menu-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            border-radius: 12px;
            color: #f1f5f9;
            text-decoration: none;
            font-size: 0.92rem;
            font-weight: 600;
            transition: all 0.2s ease;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid transparent;
        }
        .drawer-menu-link:hover, .drawer-menu-link:active {
            background: rgba(16, 185, 129, 0.15);
            border-color: rgba(16, 185, 129, 0.3);
            color: #ffffff;
            transform: translateX(currentLang === 'ar' ? -4px : 4px);
        }
        .drawer-link-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .drawer-link-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
        }
        .drawer-link-badge {
            font-size: 0.7rem;
            background: rgba(16, 185, 129, 0.25);
            color: #6ee7b7;
            padding: 2px 8px;
            border-radius: 12px;
            font-weight: 700;
        }

        .drawer-settings-box {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(16, 185, 129, 0.2);
            border-radius: 14px;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .drawer-setting-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.88rem;
            color: #cbd5e1;
        }
        .drawer-setting-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }

        .drawer-support-card {
            background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(15, 23, 42, 0.7));
            border: 1px solid rgba(37, 211, 102, 0.3);
            border-radius: 14px;
            padding: 12px 14px;
        }
        .drawer-whatsapp-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #25d366;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
        }
    