/* Debajo del chat queda libre el control para volver arriba. */
#mogWhatsApp.mog-whatsapp {
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    right: max(18px, env(safe-area-inset-right, 0px)) !important;
    font-family: inherit;
    line-height: 1.5;
}
#mogWhatsApp button {border: 0; padding: 0; font: inherit; cursor: pointer;}
#mogWhatsApp button:focus-visible {outline: 3px solid #a98d6b; outline-offset: 4px;}
#mogWhatsApp .floating-wpp-popup {background: #f0eee4;}
#mogWhatsApp .floating-wpp-popup[hidden] {display: none;}
#mogWhatsApp .floating-wpp-popup.active {
    width: min(310px, calc(100vw - 36px));
    bottom: 72px;
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
    box-sizing: border-box;
}
#mogWhatsApp .floating-wpp-head {align-items: center; gap: 12px; padding: 12px 16px; text-align: left;}
#mogWhatsApp .floating-wpp-head .close {background: transparent; color: #fff; font-size: 28px; line-height: 1; min-width: 28px; opacity: 1;}
#mogWhatsApp .floating-wpp-btn-send {background: transparent; flex-shrink: 0; min-width: 32px; min-height: 40px;}
#mogWhatsApp .floating-wpp-message {color: #3b2100; font-size: 15px;}
#mogWhatsApp .floating-wpp-input-message textarea {color: #3b2100; font-size: 16px; line-height: 1.5; min-height: 72px;}
.mog-whatsapp-fallback {position: fixed; right: 18px; bottom: 90px; z-index: 1040; background: #147d3e; color: white; padding: 12px; border-radius: 24px;}
@media (prefers-reduced-motion: reduce) {#mogWhatsApp, #mogWhatsApp * {transition: none !important;}}
/* La promoción del inicio conserva la prioridad visual y el foco. */
body.mog-newsletter-popup-open #mogWhatsApp {visibility: hidden; pointer-events: none;}
