/* Datelco WEB V6.22.8: acciones flotantes corporativas. */
#container__whatsapp.dt-floating-whatsapp{position:fixed!important;right:20px!important;bottom:22px!important;top:auto!important;left:auto!important;z-index:990!important;width:52px!important;height:52px!important;margin:0!important;cursor:auto!important}
#container__whatsapp.dt-floating-whatsapp>a{display:flex!important;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:#19bd5a;color:white;box-shadow:0 6px 18px rgba(2,32,51,.16);border:1px solid rgba(255,255,255,.7);transition:transform .2s,box-shadow .2s}
#container__whatsapp.dt-floating-whatsapp>a:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(2,32,51,.23)}
#container__whatsapp.dt-floating-whatsapp svg{width:29px;height:29px;display:block}
#scrollto_top{position:fixed!important;right:25px!important;bottom:88px!important;left:auto!important;top:auto!important;z-index:989!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s}
#scrollto_top.dt-scroll-visible{opacity:1;visibility:visible;pointer-events:auto}
#scrollto_top a#scrolltop-btn{display:flex!important;align-items:center;justify-content:center;width:42px!important;height:42px!important;background:#073653!important;border-radius:50%!important;color:white!important;box-shadow:0 5px 14px rgba(2,32,51,.13)!important}
#scrollto_top a#scrolltop-btn .wcicon{font-size:26px!important;line-height:1!important}
/* Botón flotante redundante del mini-carrito lateral: el acceso principal sigue en el header. */
/* El disparador nativo XOO vuelve a estar disponible. */
@media(max-width:767px){#container__whatsapp.dt-floating-whatsapp{right:14px!important;bottom:16px!important}#scrollto_top{right:19px!important;bottom:81px!important}}

/* V6.22.9: ocultar exclusivamente disparadores flotantes de carrito de plugins.
   No afecta los botones del encabezado, carrito clásico, mini-cart ni checkout. */
html body .xt_woofc-trigger,
html body .xt_woofc-trigger-wrap,
html body .xt_woofc-floating-cart-trigger,
html body .woofc-count,
html body .woofc-trigger,
html body .wfc-floating-cart,
html body .floating-cart-button,
html body .floating-cart-icon,
html body .woo-floating-cart-button,
html body .woo-floating-cart-icon,
html body .fkcart-mini-toggler,
html body .fkcart-floating-cart,
html body .cart-floating-button,
html body .cart-floating-icon {display:none!important;visibility:hidden!important;pointer-events:none!important}

/* V6.22.10: icono WhatsApp completo y centrado; sin recortes ni herencia de estilos SVG globales. */
#container__whatsapp.dt-floating-whatsapp>a svg{display:block!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:none!important;max-height:none!important;overflow:visible!important;flex:0 0 30px!important;transform:none!important;opacity:1!important;fill:#fff!important;}
#container__whatsapp.dt-floating-whatsapp>a svg path{fill:#fff!important;stroke:none!important;opacity:1!important;}
#container__whatsapp.dt-floating-whatsapp>a{overflow:visible!important;padding:0!important;line-height:1!important;}

/* V6.22.40: botones flotantes separados, con jerarquia visual clara. */
#container__whatsapp.dt-floating-whatsapp{right:22px!important;bottom:22px!important;width:54px!important;height:54px!important;z-index:990!important}
#container__whatsapp.dt-floating-whatsapp>a{width:54px!important;height:54px!important;border-radius:18px!important;background:linear-gradient(145deg,#21cf6c,#0da44e)!important;box-shadow:0 10px 25px rgba(0,92,57,.24),inset 0 1px 0 rgba(255,255,255,.25)!important;border:1px solid rgba(255,255,255,.65)!important}
#container__whatsapp.dt-floating-whatsapp>a:hover{transform:translateY(-3px)!important;box-shadow:0 14px 30px rgba(0,92,57,.3)!important}
#scrollto_top{right:28px!important;bottom:92px!important;z-index:989!important}
#scrollto_top a#scrolltop-btn{width:42px!important;height:42px!important}
@media(max-width:767px){#container__whatsapp.dt-floating-whatsapp{right:16px!important;bottom:18px!important}#scrollto_top{right:22px!important;bottom:88px!important}}
@media(prefers-reduced-motion:reduce){#container__whatsapp.dt-floating-whatsapp>a{transition:none!important}}

/* V6.22.43: mini-carrito nativo junto a WhatsApp; conservar apertura del plugin. */
html body .xoo-wsc-basket,
html body .xoo-wsc-basket-container{display:flex!important;visibility:visible!important;pointer-events:auto!important;opacity:1!important;position:fixed!important;right:22px!important;bottom:91px!important;left:auto!important;top:auto!important;z-index:991!important;width:54px!important;height:54px!important;align-items:center!important;justify-content:center!important;background:#073653!important;color:#fff!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(2,32,51,.2)!important;transition:transform .2s,box-shadow .2s!important}
html body .xoo-wsc-basket:hover{transform:translateY(-3px)!important;box-shadow:0 14px 28px rgba(2,32,51,.28)!important}
html body .xoo-wsc-basket .xoo-wsc-items-count{opacity:1!important;visibility:visible!important;top:-8px!important;left:auto!important;right:-6px!important;background:#ff711b!important;color:#fff!important;min-width:22px!important;height:22px!important;border-radius:12px!important;font-size:12px!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body .xoo-wsc-modal.xoo-wsc-cart-active .xoo-wsc-basket{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
#scrollto_top{bottom:161px!important}
@media(max-width:767px){html body .xoo-wsc-basket,html body .xoo-wsc-basket-container{right:16px!important;bottom:83px!important;width:54px!important;height:54px!important}#scrollto_top{bottom:151px!important}}
.dt-cart-fly{position:fixed!important;z-index:999999!important;pointer-events:none!important;border-radius:14px!important;object-fit:contain!important;background:#fff!important;box-shadow:0 9px 26px rgba(3,47,75,.2)!important;transition:transform .72s cubic-bezier(.2,.7,.2,1),opacity .72s ease,width .72s ease,height .72s ease!important;will-change:transform,opacity!important}
.dt-cart-fly-pulse{animation:dt-cart-pulse .55s ease!important}
@keyframes dt-cart-pulse{50%{transform:scale(1.14)}}
@media(prefers-reduced-motion:reduce){.dt-cart-fly{display:none!important}.dt-cart-fly-pulse{animation:none!important}}

/* V6.22.46 — columna flotante consistente, sin tapar redes ni preferencias. */
:root{--dt-float-right:22px;--dt-float-size:54px;--dt-float-gap:12px;--dt-float-base:26px}
html body #container__whatsapp.dt-floating-whatsapp{right:var(--dt-float-right)!important;bottom:var(--dt-float-base)!important;width:var(--dt-float-size)!important;height:var(--dt-float-size)!important;z-index:993!important}
html body #container__whatsapp.dt-floating-whatsapp>a{width:100%!important;height:100%!important;border-radius:17px!important}
html body .xoo-wsc-basket,html body .xoo-wsc-basket-container{right:var(--dt-float-right)!important;bottom:calc(var(--dt-float-base) + var(--dt-float-size) + var(--dt-float-gap))!important;top:auto!important;left:auto!important;width:var(--dt-float-size)!important;height:var(--dt-float-size)!important;min-width:0!important;min-height:0!important;border-radius:17px!important;background:#073653!important;background-image:none!important;box-shadow:0 9px 24px rgba(1,33,56,.23)!important;z-index:992!important}
html body .xoo-wsc-basket *,html body .xoo-wsc-basket-container *{box-sizing:border-box}
html body .xoo-wsc-basket .xoo-wsc-bki,html body .xoo-wsc-basket .xoo-wsc-icon-basket1,html body .xoo-wsc-basket .xoo-wsc-icon-basket2{color:#fff!important}
html body .xoo-wsc-basket .xoo-wsc-items-count{background:#ff711b!important;color:#fff!important;z-index:3!important}
html body #scrollto_top{right:calc(var(--dt-float-right) + 3px)!important;bottom:calc(var(--dt-float-base) + 2 * (var(--dt-float-size) + var(--dt-float-gap)))!important;top:auto!important;left:auto!important;width:48px!important;height:48px!important;z-index:991!important}
html body #scrollto_top a#scrolltop-btn{width:48px!important;height:48px!important;border-radius:17px!important;background:#073653!important;box-shadow:0 9px 24px rgba(1,33,56,.2)!important}
html body #scrollto_top a#scrolltop-btn:hover{background:#09547b!important;transform:translateY(-2px)}
@media(max-width:767px){:root{--dt-float-right:14px;--dt-float-size:48px;--dt-float-gap:10px;--dt-float-base:18px}html body #scrollto_top{width:44px!important;height:44px!important;right:calc(var(--dt-float-right) + 2px)!important}html body #scrollto_top a#scrolltop-btn{width:44px!important;height:44px!important}html body #container__whatsapp.dt-floating-whatsapp>a svg{width:27px!important;height:27px!important}}

/* V6.22.48: proteger enlaces y redes del footer. El dock se oculta solo
   mientras el footer es visible; carrito del encabezado sigue disponible. */
html body.dt-footer-in-view #scrollto_top,
html body.dt-footer-in-view #container__whatsapp.dt-floating-whatsapp,
html body.dt-footer-in-view .xoo-wsc-basket,
html body.dt-footer-in-view .xoo-wsc-basket-container{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateX(14px)!important;
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease!important;
}
/* Iconos sin degradado del plugin, en todas las resoluciones. */
html body .xoo-wsc-basket,html body .xoo-wsc-basket-container{
  background:#073653!important;background-image:none!important;
}
html body .xoo-wsc-basket:before,html body .xoo-wsc-basket-container:before{
  background-image:none!important;
}
@media (prefers-reduced-motion:reduce){html body.dt-footer-in-view #scrollto_top,html body.dt-footer-in-view #container__whatsapp.dt-floating-whatsapp,html body.dt-footer-in-view .xoo-wsc-basket,html body.dt-footer-in-view .xoo-wsc-basket-container{transition:none!important}}

/* V6.22.49 — dock discreto en reposo y nítido al acercar el cursor.
   Sin alterar posición, clicks, contador, animación ni ocultación sobre footer. */
html body:not(.dt-footer-in-view) #container__whatsapp.dt-floating-whatsapp,
html body:not(.dt-footer-in-view) .xoo-wsc-basket,
html body:not(.dt-footer-in-view) .xoo-wsc-basket-container,
html body:not(.dt-footer-in-view) #scrollto_top{
  opacity:.68!important;
  transition:opacity .24s ease,transform .24s ease,box-shadow .24s ease!important;
}
html body:not(.dt-footer-in-view) #container__whatsapp.dt-floating-whatsapp:hover,
html body:not(.dt-footer-in-view) #container__whatsapp.dt-floating-whatsapp:focus-within,
html body:not(.dt-footer-in-view) .xoo-wsc-basket:hover,
html body:not(.dt-footer-in-view) .xoo-wsc-basket:focus-within,
html body:not(.dt-footer-in-view) .xoo-wsc-basket-container:hover,
html body:not(.dt-footer-in-view) .xoo-wsc-basket-container:focus-within,
html body:not(.dt-footer-in-view) #scrollto_top:hover,
html body:not(.dt-footer-in-view) #scrollto_top:focus-within{
  opacity:1!important;
}
@media(hover:none){
  html body:not(.dt-footer-in-view) #container__whatsapp.dt-floating-whatsapp,
  html body:not(.dt-footer-in-view) .xoo-wsc-basket,
  html body:not(.dt-footer-in-view) .xoo-wsc-basket-container,
  html body:not(.dt-footer-in-view) #scrollto_top{opacity:.88!important}
}
@media(prefers-reduced-motion:reduce){
  html body:not(.dt-footer-in-view) #container__whatsapp.dt-floating-whatsapp,
  html body:not(.dt-footer-in-view) .xoo-wsc-basket,
  html body:not(.dt-footer-in-view) .xoo-wsc-basket-container,
  html body:not(.dt-footer-in-view) #scrollto_top{transition:none!important}
}
