
.eh-cw{--g:#1c1c1e;--g2:#2a2a2d;--r:#c41e3a;--rh:#d92a47;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:84px;z-index:9990;font-family:inherit;font-size:15px;line-height:1.45;color:#fff;-webkit-font-smoothing:antialiased}
.eh-cw *,.eh-cw *::before,.eh-cw *::after{box-sizing:border-box}
.eh-cw__fab{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:11px;margin-left:auto;padding:7px 20px 7px 7px;border-radius:999px;background:linear-gradient(180deg,var(--g2),var(--g));border:1px solid rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(0,0,0,.28),0 0 0 1px rgba(196,30,58,.0);cursor:pointer;color:#fff;animation:eh-cw-in .6s .8s cubic-bezier(.2,.8,.2,1) both;transition:transform .2s,box-shadow .2s,border-color .2s}
.eh-cw__fab:hover{transform:translateY(-2px);border-color:rgba(196,30,58,.7);box-shadow:0 14px 34px rgba(0,0,0,.34)}
.eh-cw__fab:focus-visible,.eh-cw__x:focus-visible,.eh-cw__avawrap{position:relative;display:block;width:44px;height:44px;flex:none}
.eh-cw__avawrap img{display:block;width:44px;height:44px;border-radius:50%;box-shadow:0 0 0 2px var(--r)}
.eh-cw__dot{position:absolute;right:0;bottom:1px;width:11px;height:11px;border-radius:50%;background:#2ecc71;border:2px solid var(--g)}
.eh-cw__lbl{display:flex;flex-direction:column;text-align:left}
.eh-cw__lbl b{font-weight:600;font-size:14px;letter-spacing:.01em;color:#fff}
.eh-cw__lbl small{font-size:12px;color:#2ecc71}
.eh-cw__card{position:absolute;right:0;bottom:68px;width:340px;max-width:calc(100vw - 32px);padding:20px;border-radius:20px;background:linear-gradient(180deg,#232326,#18181a);border:1px solid rgba(255,255,255,.08);border-top:3px solid var(--r);box-shadow:0 24px 60px rgba(0,0,0,.4);transform-origin:100% 100%}
.eh-cw__card:not([hidden]){animation:eh-cw-pop .28s cubic-bezier(.2,.8,.2,1) both}
.eh-cw__card[hidden]{display:none}
.eh-cw__x{all:unset;box-sizing:border-box;position:absolute;top:10px;right:10px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:rgba(255,255,255,.6);cursor:pointer;transition:background .2s,color .2s}
.eh-cw__x:hover{background:rgba(255,255,255,.1);color:#fff}
.eh-cw__head{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding-right:28px}
.eh-cw__ava{width:52px;height:52px;border-radius:50%;box-shadow:0 0 0 2px var(--r);flex:none}
.eh-cw__title{font-weight:600;font-size:16px;color:#fff}
.eh-cw__status{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#2ecc71}
.eh-cw__status i{width:7px;height:7px;border-radius:50%;background:#2ecc71;box-shadow:0 0 0 3px rgba(46,204,113,.18)}
.eh-cw__row{display:flex;gap:10px}
.eh-cw__btn{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:9px;height:52px;border-radius:14px;background:rgba(14,14,15,.9);border:1px solid rgba(255,255,255,.2);color:#fff!important;font-weight:700;font-size:15px;text-decoration:none!important;white-space:nowrap;transition:border-color .2s,background .2s,transform .2s}
.eh-cw__btn:hover{border-color:rgba(255,255,255,.5);background:rgba(30,30,32,.95);transform:translateY(-1px)}
.eh-cw__btn svg{flex:none}
.eh-cw__text{margin:0 0 16px;color:rgba(255,255,255,.82);font-size:14.5px}
@keyframes eh-cw-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes eh-cw-pop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
@media (max-width:782px){
.eh-cw{right:max(14px,env(safe-area-inset-right));bottom:calc(max(1rem,env(safe-area-inset-bottom)) + 57px)}
body.single-product .eh-cw{bottom:calc(5.25rem + env(safe-area-inset-bottom,0px) + 57px)}
.eh-cw__fab{padding:5px;gap:0}
.eh-cw__lbl{display:none}
.eh-cw__avawrap,.eh-cw__avawrap img{width:52px;height:52px}
.eh-cw__card{bottom:64px;width:min(340px,calc(100vw - 28px))}
}
@media (prefers-reduced-motion:reduce){
.eh-cw__fab,.eh-cw__card:not([hidden]){animation:none}
.eh-cw__fab,}
@media print{.eh-cw{display:none}}
.eh-cw__avawrap::before{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 2px rgba(196,30,58,.55),0 0 14px 2px rgba(196,30,58,.45);opacity:0;pointer-events:none;animation:eh-cw-ring 2.8s 2.2s ease-out infinite}
.eh-cw__avawrap img{position:relative;z-index:1}
.eh-cw__avawrap{animation:eh-cw-beat 2.8s 2.2s ease-in-out infinite}
.eh-cw__dot{z-index:2;animation:eh-cw-dot 2.8s 2.2s ease-in-out infinite}
@keyframes eh-cw-ring{0%{transform:scale(1);opacity:.6}20%{transform:scale(1.55);opacity:0}22%{transform:scale(1);opacity:.45}42%{transform:scale(1.6);opacity:0}100%{transform:scale(1.6);opacity:0}}
@keyframes eh-cw-beat{0%,100%{transform:scale(1)}7%{transform:scale(1.04)}15%{transform:scale(1)}22%{transform:scale(1.03)}32%{transform:scale(1)}}
@keyframes eh-cw-dot{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(46,204,113,.0)}12%{opacity:.7;box-shadow:0 0 0 3px rgba(46,204,113,.25)}30%{opacity:1;box-shadow:0 0 0 0 rgba(46,204,113,0)}}
.eh-cw[data-open="1"] .eh-cw__avawrap,.eh-cw[data-open="1"] .eh-cw__avawrap::before,.eh-cw[data-open="1"] .eh-cw__dot,.eh-cw__fab:hover .eh-cw__avawrap,.eh-cw__fab:hover .eh-cw__avawrap::before,.eh-cw__fab:hover .eh-cw__dot{animation:none}
@media (prefers-reduced-motion:reduce){.eh-cw__avawrap,.eh-cw__avawrap::before,.eh-cw__dot{animation:none!important}}
/* Electro HUB · Голосовой ассистент «Эмилия» · v1.0
   Всё в пространстве имён .emv — не конфликтует со стилями сайта. */
.emv,.emv *{box-sizing:border-box;margin:0;padding:0}
.emv{--red:#C41E3A;--red2:#E0334F;--redd:#8E1027;--g0:#0B0B0D;--g1:#141417;--g2:#1C1C21;--g3:#26262D;--chrome:#D9DCE1;--mute:#9DA1AA;
 --chromeline:linear-gradient(135deg,rgba(255,255,255,.55),rgba(255,255,255,.08) 35%,rgba(255,255,255,.02) 55%,rgba(255,255,255,.35) 80%,rgba(196,30,58,.5));
 font-family:'Montserrat',-apple-system,'Segoe UI',Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;color:#fff;line-height:1.35;font-size:14px}
.emv button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.emv :focus-visible{outline:2px solid #fff;outline-offset:3px}
.emv input:focus,.emv input:focus-visible{outline:none}

/* ---------- ORB (абстрактный «живой» аватар) ---------- */
.emv-orb{--s:52px;--amp:0;display:block;position:relative;width:var(--s);height:var(--s);border-radius:50%;flex:none;isolation:isolate;
 background:radial-gradient(circle at 50% 55%,#2a0a12 0%,#100608 55%,#050505 100%);
 box-shadow:0 0 0 1px rgba(255,255,255,.18),inset 0 0 calc(var(--s)*.18) rgba(0,0,0,.9),0 calc(var(--s)*.08) calc(var(--s)*.35) rgba(196,30,58,calc(.25 + var(--amp)*.4));
 transform:scale(calc(1 + var(--amp)*.05));transition:transform .12s linear}
.emv-orb i{position:absolute;inset:0;border-radius:50%;overflow:hidden;display:block}
.emv-orb .l1{inset:8%;background:conic-gradient(from 0deg,rgba(196,30,58,0) 0deg,#C41E3A 70deg,#ff5a74 110deg,rgba(196,30,58,0) 170deg,rgba(255,255,255,0) 200deg,rgba(230,232,238,.85) 250deg,rgba(255,255,255,0) 300deg);
 filter:blur(calc(var(--s)*.08));animation:emv-spin 7s linear infinite;opacity:.95}
.emv-orb .l2{inset:18%;background:conic-gradient(from 180deg,rgba(255,255,255,0),rgba(255,120,140,.9) 60deg,rgba(255,255,255,0) 140deg,rgba(196,30,58,.9) 230deg,rgba(255,255,255,0) 320deg);
 filter:blur(calc(var(--s)*.07));animation:emv-spin 4.6s linear infinite reverse;opacity:.6}
.emv-orb .l3{inset:0;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.95) 0,rgba(255,255,255,.35) 7%,rgba(255,255,255,0) 22%),
 radial-gradient(circle at 70% 82%,rgba(255,255,255,.18) 0,rgba(255,255,255,0) 30%),
 radial-gradient(circle at 50% 50%,rgba(0,0,0,0) 55%,rgba(0,0,0,.55) 100%)}
.emv-orb .l4{inset:-1px;border-radius:50%;padding:1.5px;background:var(--chromeline);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
@keyframes emv-spin{to{transform:rotate(360deg)}}

/* ---------- FLOATING BUTTON (desktop) ---------- */
.emv-fab{position:fixed;right:28px;bottom:28px;z-index:2147483000;display:flex;align-items:center;gap:14px;height:76px;padding:0 12px 0 12px;border:0;border-radius:999px;color:#fff;text-align:left;
 background:linear-gradient(150deg,rgba(44,44,52,.94),rgba(16,16,19,.97) 55%,rgba(10,10,12,.98));
 box-shadow:0 22px 60px rgba(0,0,0,.6),0 6px 18px rgba(0,0,0,.45),0 0 44px rgba(196,30,58,.22),inset 0 1px 0 rgba(255,255,255,.12);
 -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;overflow:visible}
.emv-fab::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:var(--chromeline);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.emv-fab::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;overflow:hidden;
 background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.13) 48%,transparent 60%) no-repeat;background-size:250% 100%;background-position:180% 0;animation:emv-sheen 7s ease-in-out 2s infinite}
@keyframes emv-sheen{0%,70%{background-position:180% 0}100%{background-position:-80% 0}}
.emv-fab .emv-orbwrap{display:block;position:relative;width:54px;height:54px;flex:none}
.emv-fab .emv-orb{--s:54px}
.emv-ring{position:absolute;inset:0;border-radius:50%;border:1.5px solid rgba(196,30,58,.75);opacity:0;animation:emv-ring 3s cubic-bezier(.2,.6,.3,1) infinite;pointer-events:none}
.emv-ring.r2{animation-delay:1s}.emv-ring.r3{animation-delay:2s;border-color:rgba(230,232,238,.45)}
@keyframes emv-ring{0%{transform:scale(1);opacity:.85}100%{transform:scale(1.85);opacity:0}}
.emv-fab .emv-txt{display:flex;flex-direction:column;gap:5px;padding-right:4px}
.emv-fab .emv-t1{font-weight:600;font-size:15.5px;letter-spacing:.005em;white-space:nowrap}
.emv-fab .emv-t2{display:flex;align-items:center;gap:7px;font-weight:500;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);white-space:nowrap}
.emv-live{width:7px;height:7px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 3px rgba(61,220,132,.18);flex:none}
.emv-wave{display:flex;align-items:center;gap:3px;height:28px}
.emv-wave b{display:block;width:3px;height:100%;border-radius:3px;background:linear-gradient(180deg,#fff,#C9CDD4 60%,#C41E3A);transform-origin:50% 50%;animation:emv-bar 1.25s ease-in-out infinite;transform:scaleY(.25)}
.emv-wave b:nth-child(1){animation-delay:-.9s}.emv-wave b:nth-child(2){animation-delay:-.2s}.emv-wave b:nth-child(3){animation-delay:-.55s}.emv-wave b:nth-child(4){animation-delay:-1.05s}.emv-wave b:nth-child(5){animation-delay:-.35s}.emv-wave b:nth-child(6){animation-delay:-.7s}
@keyframes emv-bar{0%,100%{transform:scaleY(.22)}30%{transform:scaleY(.85)}55%{transform:scaleY(.4)}75%{transform:scaleY(.65)}}
.emv-mic{position:relative;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;flex:none;
 background:radial-gradient(circle at 35% 25%,#ff6b82 0,#C41E3A 45%,#7d0d21 100%);box-shadow:0 8px 22px rgba(196,30,58,.55),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 6px rgba(0,0,0,.35);transition:transform .3s}
.emv-mic svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.emv-fab:hover,.emv-fab.is-hover{transform:translateY(-3px);box-shadow:0 28px 70px rgba(0,0,0,.65),0 0 64px rgba(196,30,58,.42),inset 0 1px 0 rgba(255,255,255,.16)}
.emv-fab:hover .emv-mic,.emv-fab.is-hover .emv-mic{transform:scale(1.08)}
.emv-fab:hover .emv-wave b,.emv-fab.is-hover .emv-wave b{animation-duration:.8s}
.emv-fab:hover .emv-t2 .emv-hint,.emv-fab.is-hover .emv-t2 .emv-hint{color:#fff}
.emv-fab.is-hidden{transform:translateY(20px) scale(.9);opacity:0;pointer-events:none}
.emv-chip{display:none}

/* ---------- PANEL ---------- */
.emv-panel{position:fixed;right:28px;bottom:120px;z-index:2147483001;width:404px;height:min(680px,calc(100vh - 180px));display:flex;flex-direction:column;border-radius:28px;overflow:hidden;
 background:radial-gradient(120% 60% at 50% 0%,rgba(196,30,58,.20),rgba(196,30,58,0) 60%),linear-gradient(180deg,#18181C,#0D0D10 70%);
 box-shadow:0 40px 100px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.06),0 0 80px rgba(196,30,58,.18);
 opacity:0;visibility:hidden;transform:translateY(18px) scale(.97);transform-origin:bottom right;transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.2,1),visibility .35s}
.emv-panel::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:var(--chromeline);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;z-index:3}
.emv-panel.is-open{opacity:1;visibility:visible;transform:none}
.emv-head{display:flex;align-items:center;gap:12px;padding:18px 18px 12px 18px;position:relative;z-index:2}
.emv-head .emv-orb{--s:38px}
.emv-hname{font-weight:700;font-size:16px;letter-spacing:.01em}
.emv-hsub{font-size:11px;color:var(--mute);font-weight:500;margin-top:2px;letter-spacing:.02em}
.emv-hgrow{flex:1;min-width:0}
.emv-ibtn{width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.06);display:grid;place-items:center;color:#fff;transition:background .2s;flex:none}
.emv-ibtn:hover{background:rgba(255,255,255,.14)}
.emv-ibtn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.emv-badge{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#fff;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.06);display:flex;gap:6px;align-items:center;white-space:nowrap}

.emv-stage{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:4px 24px 8px;position:relative;min-height:0}
.emv-bigwrap{position:relative;width:170px;height:170px;display:grid;place-items:center;flex:none}
.emv-bigwrap .emv-orb{--s:138px}
.emv-halo{position:absolute;inset:-8px;border-radius:50%;pointer-events:none}
.emv-halo.h1,.emv-halo.h2,.emv-halo.h3{border:1.5px solid rgba(196,30,58,.6);opacity:0}
.emv-arc{position:absolute;inset:4px;border-radius:50%;opacity:0;pointer-events:none;
 background:conic-gradient(from 0deg,rgba(255,255,255,0) 0deg,rgba(255,255,255,.9) 60deg,rgba(196,30,58,.9) 110deg,rgba(255,255,255,0) 160deg);
 -webkit-mask:radial-gradient(circle,transparent 63%,#000 64%,#000 66.5%,transparent 67.5%);mask:radial-gradient(circle,transparent 63%,#000 64%,#000 66.5%,transparent 67.5%)}
.emv-statelbl{font-size:11px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--mute);display:flex;align-items:center;gap:8px;height:16px}
.emv-statelbl i{width:6px;height:6px;border-radius:50%;background:var(--mute);display:block}
.emv-bars{display:flex;align-items:center;justify-content:center;gap:4px;height:34px;width:100%;flex:none}
.emv-bars b{display:block;width:4px;border-radius:4px;height:6%;background:linear-gradient(180deg,#fff,#BFC3CA);opacity:.9;transition:height .08s linear}
.emv-caption{width:100%;min-height:96px;text-align:center;font-size:16px;line-height:1.5;font-weight:500;color:#F3F4F6;padding:0 6px}
.emv-caption .emv-who{display:block;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--mute);font-weight:600;margin-bottom:6px}
.emv-caption .w{opacity:.28;transition:opacity .2s}.emv-caption .w.on{opacity:1}
.emv-caption.user{color:#C9CDD4;font-weight:400;font-style:italic}

.emv-panel:not(.emv-s-idle) .emv-chips,.emv-panel.emv-chatting .emv-chips{display:none}
.emv-chips{display:flex;flex-wrap:nowrap;gap:8px;justify-content:center;padding:0 18px 12px;overflow-x:auto;scrollbar-width:none}
.emv-chips::-webkit-scrollbar{display:none}
.emv-chips button{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:#E6E7EA;font-size:12px;font-weight:500;padding:8px 12px;border-radius:999px;transition:all .2s;white-space:nowrap;flex:none}
.emv-chips button:hover{border-color:var(--red);background:rgba(196,30,58,.14);color:#fff}

.emv-ctrl{display:flex;align-items:center;justify-content:space-between;padding:6px 30px 12px}
.emv-cbtn{width:50px;height:50px;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#fff;display:grid;place-items:center;transition:all .2s}
.emv-cbtn:hover{background:rgba(255,255,255,.12)}
.emv-cbtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.emv-cbtn.is-on{border-color:var(--red);color:#fff;background:rgba(196,30,58,.18)}
.emv-bigmic{width:76px;height:76px;border-radius:50%;border:0;display:grid;place-items:center;position:relative;color:#fff;
 background:radial-gradient(circle at 35% 25%,#ff6b82 0,#C41E3A 45%,#7d0d21 100%);box-shadow:0 14px 34px rgba(196,30,58,.55),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -3px 8px rgba(0,0,0,.35);transition:transform .25s}
.emv-bigmic:hover{transform:scale(1.05)}
.emv-bigmic svg{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.emv-bigmic::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:1px solid rgba(255,255,255,.18)}
.emv-foot{padding:0 22px 16px;text-align:center;font-size:10.5px;color:#7E828B;line-height:1.5}
.emv-foot a{color:#B9BDC5}
.emv-handbar{margin:0 18px 12px;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.emv-handbar span{flex:1;font-size:12px;color:#C9CDD4;line-height:1.35}
.emv-handbar button{border:0;background:#fff;color:#111;font-weight:700;font-size:12px;padding:9px 12px;border-radius:10px;white-space:nowrap}
.emv-handbar button:hover{background:#ffe6ea}

/* states */
.emv-s-idle .emv-statelbl i{background:#3ddc84}
.emv-s-listening .emv-statelbl{color:#fff}.emv-s-listening .emv-statelbl i{background:var(--red);box-shadow:0 0 0 4px rgba(196,30,58,.25);animation:emv-blink 1s infinite}
.emv-s-listening .emv-halo.h1{animation:emv-halo 2.2s ease-out infinite}.emv-s-listening .emv-halo.h2{animation:emv-halo 2.2s ease-out .73s infinite}.emv-s-listening .emv-halo.h3{animation:emv-halo 2.2s ease-out 1.46s infinite}
.emv-s-listening .emv-bars b{background:linear-gradient(180deg,#ff8a9c,#C41E3A)}
.emv-s-listening .emv-bigmic{animation:emv-micbeat 1.6s ease-in-out infinite}
@keyframes emv-halo{0%{transform:scale(.82);opacity:.9}100%{transform:scale(1.25);opacity:0}}
@keyframes emv-blink{50%{opacity:.35}}
@keyframes emv-micbeat{50%{box-shadow:0 14px 44px rgba(196,30,58,.85),0 0 0 10px rgba(196,30,58,.12),inset 0 1px 0 rgba(255,255,255,.35)}}
.emv-s-thinking .emv-arc{opacity:1;animation:emv-spin 1.4s linear infinite}
.emv-s-thinking .emv-orb .l1{animation-duration:2.2s}.emv-s-thinking .emv-orb .l2{animation-duration:1.6s}
.emv-s-thinking .emv-statelbl{color:#E6E7EA}.emv-s-thinking .emv-statelbl i{background:#E6E7EA;animation:emv-blink .7s infinite}
.emv-s-thinking .emv-bars b{background:linear-gradient(180deg,#fff,#8A8F98);opacity:.6}
.emv-s-speaking .emv-statelbl{color:#fff}.emv-s-speaking .emv-statelbl i{background:#fff}
.emv-s-speaking .emv-halo.h1{opacity:1;border:0;background:radial-gradient(circle,rgba(196,30,58,0) 55%,rgba(196,30,58,calc(.12 + var(--amp,0)*.5)) 68%,rgba(196,30,58,0) 75%)}

/* text mode */
.emv-chat{display:none;flex:1;min-height:0;overflow:auto;padding:4px 18px 10px;flex-direction:column;gap:10px;scrollbar-width:thin}
.emv-msg{max-width:86%;padding:11px 14px;border-radius:18px;font-size:13.5px;line-height:1.5}
.emv-msg.e{align-self:flex-start;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-bottom-left-radius:6px;color:#F1F2F4}
.emv-msg.u{align-self:flex-end;background:linear-gradient(160deg,#C41E3A,#93132A);border-bottom-right-radius:6px}
.emv-msg.typing{display:flex;gap:5px;padding:14px 16px}
.emv-msg.typing i{width:6px;height:6px;border-radius:50%;background:#C9CDD4;animation:emv-blink 1s infinite}.emv-msg.typing i:nth-child(2){animation-delay:.2s}.emv-msg.typing i:nth-child(3){animation-delay:.4s}
.emv-input{display:none;align-items:center;gap:8px;margin:0 14px 12px;padding:6px 6px 6px 16px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.emv-input input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:#fff;font:500 14px 'Montserrat',Arial,sans-serif}
.emv-input input::placeholder{color:#80848D}
.emv-send{width:40px;height:40px;border-radius:50%;border:0;background:var(--red);color:#fff;display:grid;place-items:center;flex:none}
.emv-send svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.emv-m-text .emv-stage,.emv-m-text .emv-ctrl{display:none}
.emv-m-text .emv-chat{display:flex}.emv-m-text .emv-input{display:flex}

/* handoff */
.emv-hand{position:absolute;inset:auto 0 0 0;z-index:4;padding:22px 20px 20px;border-radius:24px 24px 0 0;background:linear-gradient(180deg,#202026,#141418);box-shadow:0 -20px 60px rgba(0,0,0,.6);border-top:1px solid rgba(255,255,255,.12);transform:translateY(105%);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.emv-hand.is-open{transform:none}
.emv-hand h3{font-size:16px;font-weight:700;margin-bottom:6px}
.emv-hand p{font-size:12.5px;color:#B9BDC5;line-height:1.5;margin-bottom:14px}
.emv-sum{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.emv-sum span{font-size:11px;font-weight:600;padding:6px 9px;border-radius:8px;background:rgba(196,30,58,.14);border:1px solid rgba(196,30,58,.35);color:#ffd9df}
.emv-field{width:100%;height:46px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.25);color:#fff;padding:0 14px;font:500 14px 'Montserrat',Arial,sans-serif;margin-bottom:10px;outline:0}
.emv-field:focus{border-color:var(--red)}
.emv-seg{display:flex;gap:6px;margin-bottom:14px}
.emv-seg button{flex:1;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#DADCE0;font-size:12px;font-weight:600}
.emv-seg button.on{background:#fff;color:#111;border-color:#fff}
.emv-primary{width:100%;height:50px;border:0;border-radius:14px;background:linear-gradient(180deg,#D62746,#B01733);color:#fff;font-weight:700;font-size:14px;box-shadow:0 10px 26px rgba(196,30,58,.45)}
.emv-ok{display:none;text-align:center;padding:10px 0 4px}
.emv-ok .emv-orb{--s:64px;margin:0 auto 14px}
.emv-hand.done form{display:none}.emv-hand.done .emv-ok{display:block}

/* ---------- MOBILE ---------- */
@media (max-width:640px){
 .emv-fab{right:16px;bottom:18px;width:68px;height:68px;padding:0;justify-content:center;gap:0}
 .emv-fab .emv-txt,.emv-fab .emv-wave{display:none}
 .emv-fab .emv-orbwrap{width:68px;height:68px;position:absolute;inset:0}
 .emv-fab .emv-orb{--s:68px}
 .emv-fab .emv-mic{position:absolute;right:-4px;bottom:-4px;width:28px;height:28px;border:2px solid #111}
 .emv-fab .emv-mic svg{width:13px;height:13px;stroke-width:2.2}
 .emv-chip{display:flex;position:fixed;right:96px;bottom:30px;z-index:2147483000;align-items:center;gap:9px;padding:10px 14px 10px 12px;border-radius:16px;border:0;color:#fff;font-size:13px;font-weight:600;white-space:nowrap;
  background:linear-gradient(150deg,rgba(40,40,46,.96),rgba(14,14,17,.98));box-shadow:0 14px 34px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.1);animation:emv-chipin .6s cubic-bezier(.2,.8,.2,1) both}
 .emv-chip::after{content:"";position:absolute;right:-5px;bottom:16px;width:10px;height:10px;background:#18181c;transform:rotate(45deg)}
 .emv-chip .emv-wave{display:flex;height:16px;gap:2px}.emv-chip .emv-wave b{width:2.5px}
 .emv-chip.is-hidden{display:none}
 .emv-panel{right:0;left:0;bottom:0;width:100%;height:88vh;max-height:none;border-radius:28px 28px 0 0;transform:translateY(40px);transform-origin:bottom center}
 .emv-panel::after{content:"";position:absolute;top:8px;left:50%;width:40px;height:4px;margin-left:-20px;border-radius:4px;background:rgba(255,255,255,.22);z-index:3}
 .emv-head{padding-top:22px}
 .emv-bigwrap{width:210px;height:210px}.emv-bigwrap .emv-orb{--s:172px}
 .emv-ctrl{padding:6px 40px 14px}
 .emv-foot{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
}
@media (max-height:760px) and (min-width:641px){.emv-bigwrap{width:140px;height:140px}.emv-bigwrap .emv-orb{--s:112px}.emv-caption{min-height:72px;font-size:15px}}
@keyframes emv-chipin{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.emv *,.emv *::before,.emv *::after{animation:none!important;transition:none!important}}
/* consent overlay (Electro HUB) */
.emv-consent{position:absolute;inset:0;z-index:5;background:rgba(15,16,18,.94);display:flex;align-items:center;justify-content:center;padding:18px;border-radius:inherit}
.emv-consent-box{color:#e4e4e7;font-size:13px;line-height:1.45;max-height:100%;overflow:auto}.emv-consent-box p{margin:0 0 8px}
.emv-consent-box label{display:flex;gap:8px;align-items:flex-start;margin:10px 0;font-size:14px;color:#fff}.emv-consent-box input{width:18px;height:18px;accent-color:#c41e3a}
.emv-consent-box button{font:inherit;font-size:14px;padding:10px 14px;border-radius:10px;border:0;background:#c41e3a;color:#fff;cursor:pointer}.emv-consent-box button[data-no]{background:#3f3f46}.emv-consent-box button:disabled{opacity:.4}
/* fix1: текст и чипы без наложения на любой ширине */
.emv-panel{overflow-y:auto}
.emv-stage{flex:1 0 auto;min-height:auto;justify-content:flex-start}
.emv-caption{min-height:0;flex:none}
.emv-chips{flex:none;flex-wrap:wrap;overflow:visible;row-gap:8px;position:relative;z-index:1}
@media (max-width:640px){.emv-bigwrap{width:120px!important;height:120px!important}.emv-bigwrap .emv-orb{--s:96px!important}.emv-caption{font-size:15px}}
/* fix1: TG/MAX внутри панели */
.emv-alt{display:flex;gap:8px;justify-content:center;padding:0 18px 10px;flex:none;flex-wrap:wrap}
.emv-alt a{font-size:12px;color:#E6E7EA;text-decoration:none;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:7px 12px}
.emv-alt a:hover{border-color:var(--red)}
/* fix1: старый виджет .eh-cw выше кнопки Эмилии; прячем, когда панель открыта */
.eh-cw{bottom:118px!important}
@media (max-width:640px){.eh-cw{bottom:98px!important;right:16px!important}}
body.emv-open .eh-cw{display:none!important}
/* fix2: фон под футером (iOS Safari показывает фон html ниже футера) */
html{background:#0b0b0b!important}
@media (max-width:640px){
 .site-footer{padding-bottom:calc(150px + env(safe-area-inset-bottom))!important}
 .emv-fab{width:58px!important;height:58px!important;right:14px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important}
 .emv-fab .emv-orb{--s:46px}
 .eh-cw{bottom:calc(80px + env(safe-area-inset-bottom))!important;right:14px!important}
}
/* fix2: кнопка «наверх» */
.eh-totop{position:fixed;left:28px;bottom:28px;z-index:2147482999;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(20,20,23,.88);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .25s,transform .25s,border-color .2s;box-shadow:0 8px 24px rgba(0,0,0,.35);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.eh-totop svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.eh-totop.on{opacity:1;transform:none;pointer-events:auto}.eh-totop:hover{border-color:#C41E3A}
@media (max-width:640px){.eh-totop{left:14px;bottom:calc(14px + env(safe-area-inset-bottom));width:42px;height:42px}}
body.emv-open .eh-totop{display:none}
/* fix5: perfect circles on mobile */
@media (max-width:640px){
 .emv-fab{aspect-ratio:1/1;border-radius:50%!important;right:max(22px,env(safe-area-inset-right))!important;bottom:calc(22px + env(safe-area-inset-bottom))!important;padding:0!important;overflow:visible}
 .emv-fab .emv-orbwrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:grid;place-items:center}
 .emv-fab .emv-orb{--s:46px;margin:0}
 .emv-fab .emv-ring{inset:0;width:100%;height:100%;box-sizing:border-box}
 @keyframes emv-ring{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.2);opacity:0}}
 .emv-fab .emv-mic{right:-2px;bottom:-2px}
}
 .eh-cw{right:max(22px,env(safe-area-inset-right))!important;bottom:calc(94px + env(safe-area-inset-bottom))!important}
 .emv-fab .emv-mic,.emv-fab:hover .emv-mic,.emv-fab.is-hover .emv-mic{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 6px rgba(0,0,0,.35)!important}
 .emv-fab .emv-mic::before,.emv-fab .emv-mic::after{display:none!important}
.emv-orb,.emv-orb i,.emv-ring,.eh-totop{aspect-ratio:1/1}


@media (min-width:641px){
 /* Эмилия: круг 60px с орбом + мини-микрофон */
 html body .emv-fab{right:28px!important;bottom:28px!important;width:60px!important;height:60px!important;padding:0!important;gap:0!important;border-radius:50%!important;justify-content:center!important;overflow:visible!important;aspect-ratio:1/1}
 html body .emv-fab .emv-txt,html body .emv-fab .emv-wave,html body .emv-chip,html body button.emv-chip,[data-emv-open].emv-chip{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;overflow:hidden!important}
 html body .emv-fab .emv-orbwrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:grid;place-items:center}
 html body .emv-fab .emv-orb{--s:46px;margin:0}
 html body .emv-fab .emv-ring{inset:0;width:100%;height:100%}
 html body .emv-fab .emv-mic{position:absolute!important;right:-3px;bottom:-3px;width:24px!important;height:24px!important;border:2px solid #111;box-shadow:none!important}
 html body .emv-fab .emv-mic svg{width:12px;height:12px;stroke-width:2.2}
 html body .emv-fab .emv-mic::before,html body .emv-fab .emv-mic::after{display:none!important}
 html body .emv-fab:hover,html body .emv-fab.is-hover{transform:translateY(-2px)}
 html body .emv-fab:hover .emv-mic{transform:none}
 /* Онлайн консультант: круг 60px над Эмилией */
 html body .eh-cw{right:28px!important;bottom:104px!important}
 html body .eh-cw__fab{position:relative;width:60px;height:60px;padding:7px;gap:0;justify-content:center;border-radius:50%}
 html body .eh-cw__lbl{display:none!important}
 html body .eh-cw__avawrap,html body .eh-cw__avawrap img{width:44px;height:44px}
 /* m46: no tip bubbles anywhere */
 html body .eh-cw__fab::after,html body .emv-fab .emv-orbwrap::after,html body .emv-fab::after{content:none!important;display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;padding:0!important;border:0!important}
 html body .eh-to-top{display:none!important}
}


/* m46: sticky header must stay (do NOT set position:relative on .site-header) */
html body .site-header{
	position:sticky!important;
	top:0!important;
	z-index:100!important;
}

/* Header cart icon: always visible + tappable (home, PDP, shop, brands, accessories…) */
html body .site-header .header-actions{
	display:flex!important;
	visibility:visible!important;
	pointer-events:auto!important;
	position:relative;
	z-index:100;
}
html body .site-header .eh-header-cart,
html body .site-header a.eh-header-cart,
html body .site-header .header-cart,
html body .site-header a[data-eh-cart="1"]{
	display:inline-flex!important;
	visibility:visible!important;
	opacity:1!important;
	pointer-events:auto!important;
	position:relative!important;
	z-index:20!important;
	-webkit-tap-highlight-color:rgba(225,6,0,.25);
	touch-action:manipulation;
}

/* Cart modal must sit above Emilia (z-index 2147483000) */
html body .eh-cm{z-index:2147483600!important}
html body.eh-cm-open .emv-fab,
html body.eh-cm-open .eh-cw,
html body.eh-cm-open .eh-totop,
html body.eh-cm-open .eh-to-top,
html body.eh-cm-open .emv-chip{visibility:hidden!important;pointer-events:none!important}

/* Tip / text bubbles + Emilia promo chip: remove EVERYWHERE (Leo) */
html body .eh-cw__fab::after,
html body .emv-fab .emv-orbwrap::after,
html body .emv-fab::after,
html body .emv-chip::after{
	content:none!important;display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
html body .eh-cw__lbl,
html body .emv-fab .emv-txt,
html body .emv-fab .emv-wave,
html body .emv-chip,
html body button.emv-chip,
html body [data-emv-open].emv-chip,
html body .emv .emv-chip{
	display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
	width:0!important;height:0!important;max-width:0!important;max-height:0!important;overflow:hidden!important;
	padding:0!important;margin:0!important;border:0!important;clip:rect(0,0,0,0)!important;
}

/* Remove theme right «наверх» duplicate */
html body .eh-to-top{display:none!important;pointer-events:none!important;opacity:0!important;visibility:hidden!important}

/* Left scroll-top (Emilia .eh-totop) — raise */
html body .eh-totop{
	left:max(14px,env(safe-area-inset-left))!important;
	bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
	z-index:9995!important;
}
@media (min-width:641px){
	html body .eh-totop{left:28px!important;bottom:28px!important}
}

@media (max-width:640px){
	/* Clear ~72px bottom-right CTA strip — round FABs only */
	html body .emv-fab{
		right:max(12px,env(safe-area-inset-right))!important;
		bottom:calc(72px + env(safe-area-inset-bottom,0px))!important;
		width:52px!important;height:52px!important;
		min-width:52px!important;min-height:52px!important;
		padding:0!important;gap:0!important;
		border-radius:50%!important;justify-content:center!important;
		overflow:visible!important;z-index:9998!important;
	}
	html body .emv-fab .emv-orbwrap{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:grid;place-items:center}
	html body .emv-fab .emv-orb{--s:40px;margin:0}
	html body .emv-fab .emv-mic{width:22px!important;height:22px!important;right:-2px!important;bottom:-2px!important}

	html body .eh-cw{
		right:max(12px,env(safe-area-inset-right))!important;
		bottom:calc(136px + env(safe-area-inset-bottom,0px))!important;
		z-index:9999!important;
	}
	html body .eh-cw__fab{
		width:52px!important;height:52px!important;padding:5px!important;gap:0!important;
		border-radius:50%!important;justify-content:center!important;
	}
	html body .eh-cw__avawrap,
	html body .eh-cw__avawrap img{width:42px!important;height:42px!important}

	body.single-product .emv-fab{bottom:calc(5.5rem + env(safe-area-inset-bottom,0px))!important}
	body.single-product .eh-cw{bottom:calc(5.5rem + 64px + env(safe-area-inset-bottom,0px))!important}
	body.single-product .eh-totop{bottom:calc(5.5rem + env(safe-area-inset-bottom,0px))!important}

	.products .eh-btn-cart,
	.products .add_to_cart_button,
	.products a.ajax_add_to_cart,
	.eh-card .eh-btn-cart,
	.product-card .add_to_cart_button,
	.single_add_to_cart_button,
	.eh-pdp-cart .single_add_to_cart_button{
		position:relative;z-index:2;pointer-events:auto;touch-action:manipulation;
	}
}


.eh-cw__lbl{display:none!important}.eh-cw__fab{width:58px!important;height:58px!important;padding:0!important;border-radius:50%!important;justify-content:center!important}.emv-chip{display:none!important}