
    /* ===== BARA DE JOS (global, mobil) ===== */
    .ecs-tabbar{ display:none; }
    @media (max-width:1024px){
        .ecs-tabbar{
            position:fixed; left:0; right:0; bottom:0; z-index:99990;
            display:flex; align-items:center; gap:10px;
            padding:0 12px calc(12px + env(safe-area-inset-bottom,0px));
            background:transparent; pointer-events:none;
            transition:transform .32s cubic-bezier(.2,.8,.2,1), opacity .24s ease;
        }
        .ecs-tabbar.ecs-tb-hide{ transform:translateY(175%); opacity:0; }
        .ecs-tabs{
            pointer-events:auto; flex:1 1 auto; display:flex;
            background:rgba(255,255,255,.32);
            -webkit-backdrop-filter:blur(26px) saturate(180%); backdrop-filter:blur(26px) saturate(180%);
            border:1px solid rgba(255,255,255,.45);
            border-radius:24px;
            box-shadow:0 8px 30px rgba(20,30,50,.18), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(255,255,255,.18);
            padding:7px 6px;
        }
        .ecs-tabbar a{ text-decoration:none; }
        .ecs-tab{ flex:1 1 0; display:flex; flex-direction:column; align-items:center; gap:3px; font-family:'Poppins',system-ui,-apple-system,sans-serif; font-size:11px; font-weight:700; color:#1f2a37; padding:6px 0; margin:0 2px; border-radius:15px; text-shadow:0 1px 2px rgba(255,255,255,.65); }
        .ecs-tab-ic{ position:relative; display:flex; }
        .ecs-tab-ic svg{ width:23px;height:23px; filter:drop-shadow(0 1px 1.5px rgba(255,255,255,.7)); }
        .ecs-tab-ic .ecs-tab-avatar{ width:26px; height:26px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,.18); display:block; }
        .ecs-tab.is-active .ecs-tab-ic .ecs-tab-avatar{ box-shadow:0 0 0 2px #e0531a; }
        .ecs-tab.is-active{ color:#d4471a; background:rgba(224,83,26,.14); }
        .ecs-aibtn{
            pointer-events:auto; flex:0 0 auto; width:56px; height:56px;
            border:4px solid #fff; border-radius:50%;
            background:linear-gradient(135deg,#7c3aed,#ec4899); color:#fff;
            display:flex; align-items:center; justify-content:center;
            box-shadow:0 8px 20px rgba(124,58,237,.42); cursor:pointer; padding:0; overflow:hidden;
        }
        .ecs-aibtn svg{ width:27px; height:27px; }
        .ecs-aibtn-img{ width:100%; height:100%; border-radius:50%; object-fit:cover; display:block; }
        .ecs-badge{
            position:absolute; top:-6px; right:-8px; min-width:17px;height:17px;
            background:#e51d1d;color:#fff;border-radius:9px;font-size:10.5px;font-weight:700;
            display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid #fff;line-height:1;
        }
        .ecs-badge[hidden]{ display:none !important; }
        /* lasa loc barei pe paginile normale (non-home) */
        body:not(.home) .footer-container{ padding-bottom:calc(70px + env(safe-area-inset-bottom,0px)); }
        body:not(.home){ padding-bottom:0 !important; }
        /* FAB-ul verde "Sistem complet" e inlocuit de butonul rotund din bara */
        #eco-bd-fab{ display:none !important; }
        /* bara sticky "Adauga in cos" de pe pagina produs e ascunsa pe mobil (incurca peste bara de jos) */
        body.single-product .wd-sticky-btn{ display:none !important; }
    }
    @media (min-width:1025px){ .ecs-tabbar{ display:none !important; } }

    /* ===== HEADER APP (toate paginile, mobil) ===== */
    .ecs-appheader{ display:none; }
    @media (max-width:1024px){
        .whb-header, .wd-toolbar, .mobile-bottom-toolbar{ display:none !important; }
        /* titlul de pagina (hero) nu se mai trage peste header-ul app */
        .page-title{ margin-top:0 !important; top:0 !important; }
        .ecs-appheader{ display:block; font-family:'Poppins',system-ui,-apple-system,sans-serif; position:sticky; top:0; z-index:9990; }
        .ecs-appheader a{ text-decoration:none; color:inherit; }
        .ecs-promobar{ position:relative; display:flex; align-items:center; justify-content:center; gap:8px; width:100%; border:0; cursor:pointer; overflow:hidden; color:#fff; font-size:13px; font-weight:600; letter-spacing:.2px; line-height:1.25; text-align:center; padding:calc(7px + env(safe-area-inset-top,0px)) 12px 8px; background:linear-gradient(90deg,#1e3a8a,#2563eb,#3b82f6,#2563eb,#1e3a8a); background-size:300% 100%; animation:ecsPbFlow 6s linear infinite; box-shadow:0 2px 10px rgba(37,99,235,.35); -webkit-tap-highlight-color:transparent; }
        .ecs-promobar b{ font-weight:900; }
        .ecs-pb-txt{ position:relative; z-index:2; }
        .ecs-pb-gift{ position:relative; z-index:2; display:inline-block; transform-origin:70% 70%; animation:ecsPbGift 2.4s ease-in-out infinite; }
        .ecs-pb-cta{ position:relative; z-index:2; flex:0 0 auto; background:rgba(255,255,255,.96); color:#1d4ed8; font-weight:800; font-size:11.5px; padding:3px 9px; border-radius:999px; box-shadow:0 1px 4px rgba(0,0,0,.18); animation:ecsPbPulse 1.8s ease-in-out infinite; }
        .ecs-pb-glow{ position:absolute; top:0; left:-60%; width:45%; height:100%; z-index:1; transform:skewX(-18deg); background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 50%,rgba(255,255,255,0) 100%); animation:ecsPbShine 3.4s ease-in-out infinite; }
        @keyframes ecsPbFlow{ 0%{background-position:0% 50%;} 100%{background-position:300% 50%;} }
        @keyframes ecsPbShine{ 0%{left:-60%;} 55%{left:130%;} 100%{left:130%;} }
        @keyframes ecsPbGift{ 0%,60%,100%{transform:rotate(0) scale(1);} 12%{transform:rotate(-14deg) scale(1.16);} 26%{transform:rotate(12deg) scale(1.16);} 40%{transform:rotate(-7deg) scale(1.08);} }
        @keyframes ecsPbPulse{ 0%,100%{transform:scale(1);box-shadow:0 1px 4px rgba(0,0,0,.18);} 50%{transform:scale(1.06);box-shadow:0 2px 10px rgba(255,255,255,.55);} }
        @media (display-mode:standalone){ .ecs-pb-cta{ display:none; } }
        html.ecs-installed .ecs-pb-cta{ display:none; }
        @media (prefers-reduced-motion:reduce){ .ecs-promobar,.ecs-pb-gift,.ecs-pb-cta,.ecs-pb-glow{ animation:none !important; } }
        .ecs-app-hd{ display:flex; align-items:center; gap:8px; padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px; position:relative; z-index:2; /* sub bara de stare/camera (viewport-fit=cover, standalone), ca eMAG */ background:rgba(238,240,243,.6); -webkit-backdrop-filter:saturate(160%) blur(16px); backdrop-filter:saturate(160%) blur(16px); color:#1f2a37; border-radius:0 0 22px 22px; box-shadow:0 2px 12px rgba(20,30,50,.08); border-bottom:1px solid rgba(20,30,50,.06); }
        .ecs-hd-title{ flex:0 0 auto; display:block; }
        .ecs-hd-searchrow{ display:none !important; } /* Marin 13.09.2026: cautarea apare DOAR la clic pe lupa */
        .ecs-hd-searchrow-off{ padding:0 12px 10px; background:rgba(238,240,243,.6); -webkit-backdrop-filter:saturate(160%) blur(16px); backdrop-filter:saturate(160%) blur(16px); border-bottom:1px solid rgba(20,30,50,.06); border-radius:0 0 22px 22px; margin-top:-22px; padding-top:22px; }
        .ecs-hd-searchfield{ width:100%; display:flex; align-items:center; gap:9px; height:40px; padding:0 14px; border:1.5px solid #d9dee5; border-radius:12px; background:#fff; color:#6b7280; font-family:'Poppins',system-ui,-apple-system,sans-serif; font-size:14px; font-weight:500; text-transform:none !important; letter-spacing:0 !important; text-align:left; cursor:pointer; -webkit-tap-highlight-color:transparent; box-shadow:none; }
        .ecs-hd-searchfield svg{ width:18px; height:18px; color:#1f2a37; flex:0 0 auto; }
        .ecs-hd-searchfield span{ flex:1 1 auto; }
        .ecs-hd-logo{ height:30px; width:auto; max-width:130px; object-fit:contain; display:block; }
        .ecs-hd-contact{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px; }
        .ecs-hd-contact a{ display:flex; align-items:center; gap:5px; color:#1f2a37; font-size:11.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .ecs-hd-contact a svg{ width:13px; height:13px; flex:0 0 auto; opacity:.95; }
        .ecs-hd-actions{ flex:0 0 auto; margin-left:auto; display:flex; align-items:center; gap:8px; }
        .ecs-hd-ic{ width:40px;height:40px;border-radius:50%; background:rgba(31,42,55,.07); border:0; color:#1f2a37; display:flex;align-items:center;justify-content:center; cursor:pointer; padding:0; -webkit-tap-highlight-color:transparent; }
        .ecs-hd-avatar{ background:linear-gradient(135deg,#f7931e,#e0531a); color:#fff; font-weight:800; font-size:16px; text-decoration:none; box-shadow:0 2px 8px rgba(0,0,0,.14); position:relative; }
        .ecs-hd-avatar::after{ content:''; position:absolute; right:-1px; bottom:-1px; width:11px; height:11px; border-radius:50%; background:#22c55e; border:2px solid #eef0f3; }
        .ecs-hd-ic svg{ width:21px;height:21px; }
        .ecs-hd-ic.is-active{ background:rgba(31,42,55,.16); }
        .ecs-hd-back{ margin-right:2px; }
        .ecs-hd-back svg{ transform:rotate(180deg); }
        /* bara de search apare PE bara portocalie de sus (slide-down smooth, fix, fara layout shift) */
        .ecs-searchbar{ position:fixed; top:0; left:0; right:0; z-index:9989; background:rgba(238,240,243,.92); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); border-radius:0 0 18px 18px; padding:8px 12px 10px; box-shadow:0 8px 20px rgba(20,30,50,.12); transform:translateY(-100%); opacity:0; visibility:hidden; pointer-events:none; transition:transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility 0s linear .28s; } /* sub antet (top setat din JS), subtire; invizibila cand e inchisa (Marin 13.09.2026) */
        .ecs-searchbar.is-open{ transform:translateY(0); opacity:1; visibility:visible; pointer-events:auto; transition:transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease, visibility 0s; }
        .ecs-searchbar-row{ display:flex; align-items:center; gap:8px; }
        .ecs-search{ flex:1 1 auto; min-width:0; display:flex; align-items:center; gap:8px; height:40px; padding:0 14px; background:#fff; border:1.5px solid #d9dee5; border-radius:12px; box-shadow:none; box-sizing:border-box; }
        .ecs-search-ic{ display:flex; color:#e0531a; flex:0 0 auto; }
        .ecs-search-ic svg{ width:19px;height:19px; }
        .ecs-search input[type=search]{ flex:1 1 auto; min-width:0; border:0; outline:0; background:transparent; font-family:'Poppins',system-ui,-apple-system,sans-serif; font-size:14px; font-weight:500; color:#1f2a37; height:36px; }
        .ecs-search input[type=search]::placeholder{ color:#9aa3b0; }
        .ecs-search-close{ flex:0 0 auto; width:34px; height:34px; border-radius:50%; background:rgba(31,42,55,.08); border:0; font-size:20px; line-height:1; color:#1f2a37; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; }
        /* lumina care se invarte in jurul camerei frontale (ca pe eMAG) — insula intunecata + arc de lumina rotativ */
        /* putin mai mare ca Dynamic Island (iPhone 14 Pro ~126x37 @ top 11) -> lumina iese in jurul ei */
        .ecs-search-radar{ display:none !important; position:fixed; top:11px; left:50%; transform:translateX(-50%); width:126px; height:37px; z-index:100020; pointer-events:none; opacity:0; transition:opacity .25s ease; background:transparent !important; border-radius:20px; }
        .ecs-search-radar.on{ opacity:1; }
        @media (min-width:1025px){ .ecs-search-radar{ display:none !important; } }
        .ecs-radar-orb{ position:absolute; inset:-3px; border-radius:21px; padding:3px; will-change:transform;
            background:conic-gradient(from 0deg,
                rgba(247,147,30,.45) 0deg, rgba(247,147,30,.45) 195deg,
                rgba(247,147,30,.7) 275deg, rgba(247,147,30,1) 326deg, #ffe9c2 345deg, #ffffff 357deg, rgba(247,147,30,.45) 360deg);
            -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite:xor; mask-composite:exclude;
            filter:drop-shadow(0 0 4px rgba(247,147,30,.95)) drop-shadow(0 0 11px rgba(255,255,255,.6));
            animation:ecsRadarSpin 1.05s linear infinite; }
        @keyframes ecsRadarSpin{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }

        /* autocomplete search (sugestii live) */
        .ecs-search-sugg{ position:absolute; top:100%; left:10px; right:10px; margin-top:8px; background:#fff; border-radius:14px; box-shadow:0 14px 28px rgba(20,30,50,.22); overflow:hidden; max-height:62vh; overflow-y:auto; }
        .ecs-search-sugg[hidden]{ display:none !important; }
        .ecs-sg-it{ display:flex; align-items:center; gap:11px; padding:10px 13px; border-bottom:1px solid #f0f1f4; }
        .ecs-sg-it:active{ background:#f7f8fa; }
        .ecs-sg-it img{ width:44px; height:44px; flex:0 0 44px; object-fit:contain; border-radius:9px; background:#f7f8fa; }
        .ecs-sg-tx{ display:flex; flex-direction:column; gap:2px; min-width:0; }
        .ecs-sg-nm{ font-size:13px; font-weight:500; color:#1f2a37; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
        .ecs-sg-pr{ font-size:13px; font-weight:700; color:#e0531a; }
        .ecs-sg-all{ display:block; text-align:center; padding:12px; font-size:13px; font-weight:700; color:#e0531a; background:#fff7f1; }
        .ecs-sg-empty,.ecs-sg-load{ padding:16px 13px; text-align:center; color:#9aa3b0; font-size:13px; }

        /* clopotel + badge */
        #ecs-bell, #ecs-hd-fav, #ecs-hd-cart{ position:relative; }
        .ecs-bell-badge{ position:absolute; top:6px; right:6px; min-width:16px; height:16px; background:#e51d1d; color:#fff; border-radius:8px; font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; padding:0 4px; border:2px solid #eef0f3; line-height:1; }
        .ecs-bell-badge[hidden]{ display:none !important; }
        /* ===== ecran full „Noutăți pentru tine" (model eMAG) ===== */
        body.ecs-noscroll{ overflow:hidden !important; }
        .ecs-notif{ position:fixed; inset:0; z-index:100000; background:#f1f3f6; display:flex; flex-direction:column; transform:translateX(100%); transition:transform .28s ease; visibility:hidden; }
        .ecs-notif.is-open{ transform:translateX(0); visibility:visible; }
        .ecs-notif-top{ flex:0 0 auto; display:flex; align-items:center; gap:12px; padding:calc(12px + env(safe-area-inset-top,0px)) 14px 12px; background:#fff; box-shadow:0 1px 0 rgba(20,30,50,.07); }
        .ecs-notif-back{ width:40px; height:40px; border-radius:50%; border:0; background:#f1f3f6; color:#1f2a37; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; -webkit-tap-highlight-color:transparent; }
        .ecs-notif-back svg{ width:22px; height:22px; transform:rotate(180deg); }
        .ecs-notif-title{ font-size:17px; font-weight:800; color:#1f2a37; }
        .ecs-notif-body{ flex:1 1 auto; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:8px 14px calc(24px + env(safe-area-inset-bottom,0px)); }
        .ecs-notif-empty{ padding:40px 12px; text-align:center; color:#9aa3b0; font-size:14px; }
        .ecs-nx-group{ font-size:14px; font-weight:700; color:#1f2a37; margin:16px 4px 10px; }
        .ecs-nx-group:first-child{ margin-top:8px; }
        .ecs-nx-card{ display:block; background:#fff; border-radius:16px; box-shadow:0 2px 10px rgba(20,30,50,.06); padding:15px 16px; margin-bottom:12px; text-decoration:none; color:inherit; }
        .ecs-nx-card:active{ background:#fafbfc; }
        .ecs-nx-head{ display:flex; align-items:center; gap:12px; }
        .ecs-nx-htx{ flex:1 1 auto; min-width:0; }
        .ecs-nx-num{ font-size:15px; font-weight:700; color:#1f2a37; line-height:1.3; }
        .ecs-nx-date{ font-size:12px; color:#9aa3b0; margin-top:3px; }
        .ecs-nx-psub{ font-size:12.5px; color:#6b7280; margin-top:4px; line-height:1.35; }
        .ecs-nx-thumb{ width:52px; height:52px; flex:0 0 52px; object-fit:contain; border-radius:10px; background:#f7f8fa; }
        .ecs-nx-chev{ flex:0 0 auto; color:#c2c8d0; display:flex; align-self:center; }
        .ecs-nx-chev svg{ width:20px; height:20px; }
        .ecs-nx-status{ font-size:14px; font-weight:700; color:#2f6fed; margin-top:14px; }
        .ecs-nx-status.cancel{ color:#e0531a; }
        .ecs-nx-prog{ display:flex; align-items:center; margin-top:11px; }
        .ecs-nx-pt{ width:11px; height:11px; border-radius:50%; background:#dfe3e9; flex:0 0 auto; }
        .ecs-nx-pt.on{ background:#2f6fed; }
        .ecs-nx-seg{ height:4px; border-radius:2px; background:#dfe3e9; flex:1 1 auto; }
        .ecs-nx-seg.on{ background:#2f6fed; }
        .ecs-nx-promo-ic{ width:48px; height:48px; flex:0 0 48px; border-radius:12px; background:linear-gradient(135deg,#f7931e,#e0531a); color:#fff; display:flex; align-items:center; justify-content:center; }
        .ecs-nx-promo-ic svg{ width:24px; height:24px; }
        .ecs-nx-none{ text-align:center; color:#9aa3b0; font-size:14px; padding:28px 10px; }
        .ecs-nx-empty{ text-align:center; padding:54px 24px; }
        .ecs-nx-empty-ic{ width:74px; height:74px; border-radius:50%; background:#fff; box-shadow:0 6px 18px rgba(20,30,50,.1); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; color:#e0531a; }
        .ecs-nx-empty-ic svg{ width:34px; height:34px; }
        .ecs-nx-empty-t{ font-size:18px; font-weight:800; color:#1f2a37; }
        .ecs-nx-empty-s{ font-size:13.5px; color:#6b7280; margin:8px 0 22px; line-height:1.45; }
        .ecs-nx-empty-btn{ display:inline-block; background:linear-gradient(135deg,#f7931e,#e0531a); color:#fff; font-weight:700; font-size:15px; padding:12px 32px; border-radius:999px; text-decoration:none; }
    }
    @media (min-width:1025px){ .ecs-appheader{ display:none !important; } }

        .ecs-hd-avatar .ecs-hd-avatar-img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
