/* One contact action, above mobile navigation and below shopping dialogs. */
body.demo-clean-store .demo-whatsapp {
    --demo-wa-ease: cubic-bezier(.4, 0, .2, 1);
    position: fixed;
    left: max(24px, env(safe-area-inset-left, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 1036;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    box-sizing: border-box;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #25d366, #128c7e);
    color: #fff;
    text-decoration: none;
    line-height: 0;
    isolation: isolate;
    transform: none;
    box-shadow: 0 5px 18px rgba(18, 140, 126, .24), 0 0 0 1px rgba(18, 140, 126, .12);
    transition: box-shadow .48s var(--demo-wa-ease);
    -webkit-tap-highlight-color: transparent;
}
body.demo-clean-store .demo-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #128c7e;
    opacity: 0;
    pointer-events: none;
    transition: opacity .48s var(--demo-wa-ease);
}
body.demo-clean-store .demo-whatsapp > svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 34px;
    height: 34px;
    color: #fff;
    fill: currentColor;
    flex-shrink: 0;
    pointer-events: none;
}
body.demo-clean-store .demo-whatsapp:is(:hover, :focus-visible) {
    color: #fff;
    transform: none;
    box-shadow: 0 5px 22px rgba(18, 140, 126, .34), 0 0 0 3px #e5f7ef;
}
body.demo-clean-store .demo-whatsapp:is(:hover, :focus-visible)::before { opacity: 1; }
body.demo-clean-store .demo-whatsapp:focus-visible {
    outline: 2px solid #10345b;
    outline-offset: 4px;
}
body.demo-clean-store .demo-whatsapp__label {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translate3d(-6px, -50%, 0);
    padding: 8px 12px;
    border: 1px solid #d7eaf6;
    border-radius: 9px;
    background: #fff;
    color: #10345b;
    font-family: "Cairo", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    white-space: nowrap;
    box-shadow: 0 3px 14px rgba(16, 52, 91, .08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s var(--demo-wa-ease), transform .45s var(--demo-wa-ease), visibility 0s linear .45s;
}
body.demo-clean-store .demo-whatsapp:focus-visible .demo-whatsapp__label {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, -50%, 0);
    transition-delay: .06s, .06s, 0s;
}
@media (hover: hover) and (pointer: fine) {
    body.demo-clean-store .demo-whatsapp:hover .demo-whatsapp__label {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, -50%, 0);
        transition-delay: .06s, .06s, 0s;
    }
}
body.demo-clean-store:has(.admin-session-indicator) .demo-whatsapp {
    bottom: calc(98px + env(safe-area-inset-bottom, 0px));
}
body.demo-clean-store:has(#prodPnl) .demo-whatsapp {
    bottom: calc(128px + env(safe-area-inset-bottom, 0px));
}
body.demo-clean-store.modal-open .demo-whatsapp,
body.demo-clean-store:has(.offcanvas.show, .offcanvas.showing) .demo-whatsapp {
    visibility: hidden;
    pointer-events: none;
}
@media (max-width: 767px) {
    body.demo-clean-store .demo-whatsapp {
        left: max(14px, env(safe-area-inset-left, 0px));
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        width: 52px;
        height: 52px;
    }
    body.demo-clean-store .demo-whatsapp > svg { width: 31px; height: 31px; }
    body.demo-clean-store:has(.admin-session-indicator) .demo-whatsapp {
        bottom: calc(148px + env(safe-area-inset-bottom, 0px));
    }
    body.demo-clean-store:has(#prodPnl) .demo-whatsapp {
        bottom: calc(160px + env(safe-area-inset-bottom, 0px));
    }
    body.demo-clean-store:has(input:focus, textarea:focus, select:focus) .demo-whatsapp {
        visibility: hidden;
        pointer-events: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.demo-clean-store .demo-whatsapp,
    body.demo-clean-store .demo-whatsapp::before,
    body.demo-clean-store .demo-whatsapp__label { transition: none; }
}
@media print {
    body.demo-clean-store .demo-whatsapp { display: none; }
}
