/* WhatsApp flotante — Nutrannia */
.hq-wa-root {
  position: fixed;
  left: 22px;
  bottom: 100px; /* encima del nt-scrolltop */
  z-index: 99990;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}

.hq-wa-root.is-visible {
  pointer-events: auto;
}

.hq-wa-bubble {
  max-width: 260px;
  background: #fff;
  color: #191f30;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.hq-wa-root.is-visible.hq-wa-root--bubble-open .hq-wa-bubble,
.hq-wa-root.is-visible:focus-within .hq-wa-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hq-wa-bubble__l1 {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 2px;
  color: #191f30;
}

.hq-wa-bubble__l2 {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #4a4a4a;
}

.hq-wa-bubble__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #e6ca45;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  cursor: pointer;
  padding: 0;
}

.hq-wa-bubble-wrap {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.hq-wa-root.is-visible.hq-wa-root--bubble-open .hq-wa-bubble-wrap,
.hq-wa-root.is-visible:focus-within .hq-wa-bubble-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hq-wa-btn-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease 0.08s, transform 0.35s ease 0.08s;
}

.hq-wa-root.is-visible .hq-wa-btn-row {
  opacity: 1;
  transform: translateY(0);
}

.hq-wa-label {
  background: #191f30;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.hq-wa-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hq-wa-btn:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.hq-wa-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.hq-wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #191f30;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

@media (max-width: 575px) {
  .hq-wa-root {
    left: 14px;
    bottom: 14px;
  }

  .hq-wa-label {
    display: none;
  }

  .hq-wa-btn {
    width: 54px;
    height: 54px;
  }
}
