/* El boton de WhatsApp (diseño «Producto», sep 2026). Es CSS del modulo y no
   del tema para que el boton se vea igual cuelgue del hook que cuelgue. Los
   tokens --ac-* los define el tema en :root; el valor de reserva es el mismo. */
.ac-whatsapp {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 14px;
    font-family: var(--ac-display, "Oswald", "Arial Narrow", sans-serif);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: #25d366;
    border-radius: 2px;
    transition: background 0.15s ease;
}
.ac-whatsapp:hover,
.ac-whatsapp:focus-visible {
    color: #fff;
    background: #1fb959;
}
.ac-whatsapp__icono {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
}
/* Objetivo tactil de 44 px donde no hay raton. */
@media (hover: none) and (pointer: coarse) {
    .ac-whatsapp {
        min-height: 44px;
    }
}

/* Flotante (hooks del cuerpo): redondo, en la esquina inferior derecha. */
.ac-whatsapp--flotante {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1030;
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.ac-whatsapp--flotante .ac-whatsapp__icono {
    width: 26px;
    height: 26px;
}
.ac-whatsapp--flotante .ac-whatsapp__texto {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* Con la barra fija de la ficha en movil (.ac-pdp-bar), sube por encima. */
body:has(.ac-pdp-bar:not([hidden])) .ac-whatsapp--flotante {
    bottom: 92px;
}
