/* 02.11 — cart in the top-right dock, manager in the microphone menu, Jivo chat where the cart was (start-jivo.js) */
html.jv-on .top-dock #command-call{display:none!important}
html.jv-on body:not(:has(#site-product-overlay)):not(:has(#detail-drawer.open)):not(:has(.detail-drawer.open)):not(:has(#market-component-overlay)) .sc-fab{display:none!important}  /* in a card it stays, under the ✕ */
html.jv-on .mobile-nav .sp-mini-cart{display:none!important}

/* the cart in the dock — the size of its neighbours; last in the DOM, shown in the manager's place */
html.jv-on .top-dock .td-cart{order:1}html.jv-on .top-dock .cd-mini{order:2}
.top-dock .td-cart{position:relative;width:56px;height:52px;display:grid;place-items:center;padding:0;border:1px solid #4f7f74;border-radius:15px;background:linear-gradient(135deg,#0f2a2a,#122436);color:#6ff7d8;box-shadow:0 8px 30px #0008;cursor:pointer;transition:transform .25s,box-shadow .25s}
.top-dock .td-cart:hover{transform:translateY(-2px);box-shadow:0 0 22px #69e7be44,0 8px 30px #0008}
.top-dock .td-cart svg{width:24px;height:24px}
.top-dock .td-cart.has svg{filter:drop-shadow(0 0 6px #6ff7d866)}
.top-dock .td-cart b{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;display:grid;place-items:center;background:#6ff7d8;color:#06231c;font-size:11.5px;font-weight:800;box-shadow:0 0 0 2px #0b1418}
.top-dock .td-cart b:empty{display:none}
.top-dock .td-cart.bump b{animation:tdBump .5s cubic-bezier(.2,1.6,.4,1)}
@keyframes tdBump{40%{transform:scale(1.45)}}
@media(max-width:1050px){.top-dock .td-cart{width:46px;height:46px;border-radius:14px}}
@media(max-width:760px){.top-dock .td-cart{width:38px!important;height:38px!important;border-radius:12px}.top-dock .td-cart svg{width:21px;height:21px}.top-dock .td-cart b{top:-5px;right:-5px;min-width:17px;height:17px;font-size:10.5px}}

/* the Jivo button: where the cart floated */
.jv-btn{position:fixed;z-index:230;right:max(18px,env(safe-area-inset-right));bottom:calc(108px + env(safe-area-inset-bottom));width:54px;height:54px;display:grid;place-items:center;padding:0;border:0;border-radius:18px;
  background:linear-gradient(135deg,#123a33f2,#1a2440f2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 0 0 1px #6ff7d855,0 10px 26px #0009;color:#bfffee;cursor:pointer;transition:transform .25s,box-shadow .25s,opacity .2s}
.jv-btn:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 1px #6ff7d899,0 0 22px #69e7be44,0 10px 26px #0009}
.jv-btn svg{width:24px;height:24px}
.jv-btn i{position:absolute;top:9px;right:9px;width:9px;height:9px;border-radius:50%;background:#6ff7d8;box-shadow:0 0 0 2px #0f2230,0 0 8px #6ff7d8;animation:jvDot 2.4s ease-in-out infinite}
.jv-btn.has-new i{background:#ff7a8a;box-shadow:0 0 0 2px #0f2230,0 0 10px #ff7a8a;animation-duration:.8s}
.jv-btn.is-wait svg{animation:jvWait .9s ease-in-out infinite alternate}
@keyframes jvDot{50%{opacity:.35}}
@keyframes jvWait{to{opacity:.35}}
body.vp-full-open .jv-btn,body.builder-open .jv-btn,body.smn-open .jv-btn,body.sh-diving .jv-btn,body.kf-sheet .jv-btn,html.jv-open .jv-btn,
body:has(#site-product-overlay) .jv-btn,body:has(#detail-drawer.open) .jv-btn,body:has(#market-component-overlay) .jv-btn{opacity:0;pointer-events:none}
/* phone: inside the bottom menu, above the ask line on the right — compact */
@media(max-width:760px){
  .jv-btn{right:12px;bottom:calc(140px + env(safe-area-inset-bottom));width:46px;height:46px;border-radius:15px}
  html.sp-mini .mobile-nav .jv-btn{position:absolute;right:12px;bottom:calc(100% + 64px);width:46px;height:46px}
  .jv-btn svg{width:21px;height:21px}.jv-btn i{top:7px;right:7px;width:8px;height:8px}
}
/* Jivo's own round launcher is replaced by ours; its chat window stays */
html.jv-on jdiv[class*="__jivoMobileButton"],html.jv-on jdiv[class*="__jivoDesktopButton"],html.jv-on #jCallbackButton,html.jv-on jdiv[class*="__jivoCallbackBtn"]{display:none!important}
@media(prefers-reduced-motion:reduce){.jv-btn i,.jv-btn svg{animation:none!important}}
.vc-mgr>b{background:linear-gradient(135deg,#221c3c,#17303a);color:#d9ccff}
