/* RIVI contact button (12.11.2026). One component for every page and language.
   LTR: bottom right. RTL (AR, FA): mirrored to the bottom left, with the cookie notice moved to the right so they never meet. */
.rv-fab{--rv-fab-lift:0px;position:fixed;z-index:80;inset-inline-end:max(18px,env(safe-area-inset-right));bottom:calc(max(22px,env(safe-area-inset-bottom)) + 64px + var(--rv-fab-lift) + var(--rv-fab-up,0px));display:flex;flex-direction:column;align-items:center;gap:12px;font-family:Manrope,Switzer,Arial,sans-serif;transition:opacity .25s ease,transform .35s cubic-bezier(.2,.7,.2,1),bottom .3s ease;animation:rvFabIn .8s .9s cubic-bezier(.19,1,.22,1) both}
.rv-fab.is-away,.rv-fab.is-dodge{opacity:0;pointer-events:none;transform:translateY(12px)}
.rv-fab__toggle{position:relative;display:grid;place-items:center;width:62px;height:62px;padding:0;border:1.5px solid #e2c08c;border-radius:50%;background:#0d2430;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:0 16px 34px -12px #0d2430cc,0 2px 6px #0d243040;animation:rvFabPulse 2.4s ease-out infinite;transition:transform .25s cubic-bezier(.2,.7,.2,1),background-color .25s}
.rv-fab__toggle:hover{transform:translateY(-2px);background:#174f67}
.rv-fab__toggle:active{transform:scale(.96)}
.rv-fab__toggle:focus-visible,.rv-fab__item:focus-visible{outline:3px solid #55a9c8;outline-offset:3px}
.rv-fab__ico{grid-area:1/1;width:28px;height:28px;transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .2s}
.rv-fab__ico--close{opacity:0;transform:rotate(-90deg) scale(.6)}
.rv-fab.is-open .rv-fab__ico--chat{opacity:0;transform:rotate(90deg) scale(.6)}
.rv-fab.is-open .rv-fab__ico--close{opacity:1;transform:none}
.rv-fab.is-open .rv-fab__toggle{animation:none;background:#174f67}
.rv-fab__list{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;visibility:hidden;transition:visibility 0s linear .3s}
.rv-fab.is-open .rv-fab__list{visibility:visible;transition-delay:0s}
.rv-fab__list li{margin:0;padding:0;list-style:none}
.rv-fab__item{position:relative;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:#fff;text-decoration:none;box-shadow:0 12px 26px -12px #0d2430b3,0 1px 4px #0d243033;opacity:0;transform:translateY(14px) scale(.7);transition:opacity .25s ease,transform .4s cubic-bezier(.2,.9,.25,1.15),box-shadow .2s}
.rv-fab.is-open .rv-fab__item{opacity:1;transform:none}
.rv-fab__list li:nth-child(4) .rv-fab__item{transition-delay:0s}
.rv-fab__list li:nth-child(3) .rv-fab__item{transition-delay:.05s}
.rv-fab__list li:nth-child(2) .rv-fab__item{transition-delay:.1s}
.rv-fab__list li:nth-child(1) .rv-fab__item{transition-delay:.15s}
.rv-fab:not(.is-open) .rv-fab__item{transition-delay:0s}
.rv-fab__item:hover{box-shadow:0 16px 30px -12px #0d2430e6}
.rv-fab__item .ed-channel-icon,.rv-fab__item svg{width:26px;height:26px;stroke-width:1.7}
.rv-fab__item--whatsapp{background:#25d366}
.rv-fab__item--telegram{background:#fff;color:#26a5e4}
.rv-fab__item .rv-fab__brand{width:30px;height:30px;stroke:none}
.rv-fab__item--telegram .rv-fab__brand{width:100%;height:100%}
.rv-fab__item--call{background:#174f67}
.rv-fab__item--email{background:#a98146}
@media (hover:hover){
.rv-fab__item::before{content:attr(data-tip);position:absolute;inset-inline-end:calc(100% + 12px);top:50%;padding:8px 12px;border-radius:10px;background:#0d2430;color:#fff;font:600 13px/1.2 Manrope,Switzer,Arial,sans-serif;white-space:nowrap;opacity:0;transform:translate(6px,-50%);pointer-events:none;transition:opacity .2s,transform .25s}
[dir=rtl] .rv-fab__item::before{transform:translate(-6px,-50%)}
.rv-fab__item:hover::before,.rv-fab__item:focus-visible::before{opacity:1;transform:translate(0,-50%)}
}
/* RTL: the cookie notice goes to the right edge, the button sits on the left */
html[dir=rtl] .rv-consent{left:auto;right:20px}
/* things that must stay free: open phone menu, dialogs, a focused form field (script adds is-away) */
body:has(.ed-menu-button[aria-expanded=true]) .rv-fab,body:has(dialog[open]) .rv-fab{opacity:0;pointer-events:none}
/* catalog compare bar is a centred bar at the bottom: the button rides above it where they would meet */
@media (max-width:960px){body:has(.rm-cbar:not([hidden])) .rv-fab{--rv-fab-up:92px}}
@media (max-width:640px){
.rv-fab{inset-inline-end:max(14px,env(safe-area-inset-right));bottom:calc(max(16px,env(safe-area-inset-bottom)) + 56px + var(--rv-fab-lift) + var(--rv-fab-up,0px));gap:10px}
.rv-fab__toggle{width:56px;height:56px}
.rv-fab__item{width:50px;height:50px}
.rv-fab__ico{width:26px;height:26px}
}
@keyframes rvFabIn{from{opacity:0;transform:translateY(18px)}}
/* same ring as the pulsing buttons of the site (kzPulse, 2.4 s), gold so it reads on light and on navy */
@keyframes rvFabPulse{0%{box-shadow:0 16px 34px -12px #0d2430cc,0 0 0 0 #e2c08c99}70%{box-shadow:0 16px 34px -12px #0d2430cc,0 0 0 16px #e2c08c00}100%{box-shadow:0 16px 34px -12px #0d2430cc,0 0 0 0 #e2c08c00}}
@media (prefers-reduced-motion:reduce){
.rv-fab,.rv-fab__toggle,.rv-fab__ico,.rv-fab__item,.rv-fab__item::before{animation:none!important;transition:none!important}
}
@media print{.rv-fab{display:none}}

/* Back to top: a small round button under the contact button; the pair sits a little higher, with a gap between them */
.rv-fab{margin-bottom:0;gap:12px}
.rv-fab__top{position:absolute;top:calc(100% + 16px);inset-inline-start:50%;margin-inline-start:-23px;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #cfdce3;border-radius:50%;background:#fff;color:#0d2430;cursor:pointer;box-shadow:0 10px 24px -12px #0d2430b3;transition:opacity .25s ease,transform .3s cubic-bezier(.2,.7,.2,1),background-color .2s}
.rv-fab__top[hidden]{display:none}
.rv-fab__top:hover{transform:translateY(-2px);background:#e8f3f7}
.rv-fab__top svg{width:22px;height:22px}
.rv-fab__top:focus-visible{outline:3px solid #55a9c8;outline-offset:3px}
.rv-fab__top.is-in{animation:rvFabIn .4s cubic-bezier(.19,1,.22,1) both}
@media (max-width:640px){.rv-fab__top{top:calc(100% + 14px);width:42px;height:42px;margin-inline-start:-21px}}

/* Scroll hint for sideways-scrolling tables: the edge where more content waits fades out (set by fab.js) */
[data-rv-fade~=end]{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 34px),#0000);mask-image:linear-gradient(to right,#000 calc(100% - 34px),#0000)}
[data-rv-fade~=start]{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 34px),#0000);mask-image:linear-gradient(to left,#000 calc(100% - 34px),#0000)}
[data-rv-fade~=start][data-rv-fade~=end]{-webkit-mask-image:linear-gradient(to right,#0000,#000 34px,#000 calc(100% - 34px),#0000);mask-image:linear-gradient(to right,#0000,#000 34px,#000 calc(100% - 34px),#0000)}
html[dir=rtl] [data-rv-fade~=end]{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 34px),#0000);mask-image:linear-gradient(to left,#000 calc(100% - 34px),#0000)}
html[dir=rtl] [data-rv-fade~=start]{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 34px),#0000);mask-image:linear-gradient(to right,#000 calc(100% - 34px),#0000)}
html[dir=rtl] [data-rv-fade~=start][data-rv-fade~=end]{-webkit-mask-image:linear-gradient(to right,#0000,#000 34px,#000 calc(100% - 34px),#0000);mask-image:linear-gradient(to right,#0000,#000 34px,#000 calc(100% - 34px),#0000)}
