.hhb-fcta {
  --hhb-fcta-btn-size: 54px;
  --hhb-fcta-radius: 999px;
  --hhb-fcta-label-size: 14px;
  --hhb-fcta-label-weight: 600;
  --hhb-fcta-text: #1a1a1a;
  --hhb-fcta-icon: #2b2b2b;
  --hhb-fcta-btn-bg: #fff;
  --hhb-fcta-panel-gradient: #314EE6;
  --hhb-fcta-border: rgba(255, 255, 255, 0.20);
  --hhb-fcta-shadow: rgba(49, 78, 230, 0.28);
  --hhb-fcta-glow: rgba(49, 78, 230, 0.35);
  --hhb-fcta-mobile-breakpoint: 991px;

  position: fixed;
  top: 50%;
  z-index: 9998;
  transform: translateY(-50%);
  pointer-events: none;
}

.hhb-fcta--left { left: 0; }
.hhb-fcta--right { right: 0; }

.hhb-fcta__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 0 40px 40px 0;
  background: var(--hhb-fcta-panel-gradient);
  box-shadow: 4px 0 28px var(--hhb-fcta-shadow);
  pointer-events: auto;
  overflow: visible;
}

.hhb-fcta.is-glass .hhb-fcta__inner {
  background: rgba(255, 250, 245, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hhb-fcta__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--hhb-fcta-btn-size);
  height: var(--hhb-fcta-btn-size);
  border-radius: var(--hhb-fcta-radius);
  background: var(--hhb-fcta-btn-bg);
  border: 1px solid var(--hhb-fcta-border);
  color: var(--hhb-fcta-text);
  text-decoration: none;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(20, 16, 12, 0.14);
  transition: transform 0.22s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.hhb-fcta__item:hover,
.hhb-fcta__item:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(20, 16, 12, 0.22), 0 0 0 4px var(--hhb-fcta-glow);
}

.hhb-fcta--right .hhb-fcta__item:hover,
.hhb-fcta--right .hhb-fcta__item:focus-visible {
  transform: scale(1.08);
}

.hhb-fcta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hhb-fcta-icon);
}

.hhb-fcta__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.hhb-fcta__icon .dashicons {
  font-size: 22px;
  width: 22px;
  height: 22px;
}

.hhb-fcta__label {
  display: none;
}

.hhb-fcta__tooltip {
  position: absolute;
  left: calc(var(--hhb-fcta-btn-size) + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #314EE6;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.18s ease;
  z-index: 1;
}

.hhb-fcta--right .hhb-fcta__tooltip {
  left: auto;
  right: calc(var(--hhb-fcta-btn-size) + 12px);
}

.hhb-fcta__item:hover .hhb-fcta__tooltip,
.hhb-fcta__item:focus-visible .hhb-fcta__tooltip {
  opacity: 1;
}

.hhb-fcta__item.is-pulse::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(218, 110, 98, 0.48);
  animation: hhbPulse 1.8s infinite;
}

@keyframes hhbPulse {
  0% { box-shadow: 0 0 0 0 rgba(218, 110, 98, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(218, 110, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(218, 110, 98, 0); }
}

.hhb-fcta--anim-soft-float .hhb-fcta__inner {
  animation: hhbFloat 4.8s ease-in-out infinite;
}

@keyframes hhbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hhb-fcta--anim-fade-up {
  animation: hhbFadeUp 0.45s ease;
}

@keyframes hhbFadeUp {
  from { opacity: 0; transform: translateY(-40%) scale(0.92); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}

.hhb-fcta.is-scroll-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.hhb-fcta.is-scroll-hidden.is-visible {
  opacity: 1;
  visibility: visible;
}

.hhb-fcta-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.hhb-fcta-modal.is-open { display: block; }

.hhb-fcta-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 7, 0.5);
}

.hhb-fcta-modal__dialog {
  position: relative;
  max-width: 560px;
  margin: 7vh auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.24);
}

.hhb-fcta-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.hhb-fcta-modal__body {
  margin-top: 8px;
}

@media (max-width: 991px) {
  .hhb-fcta {
    top: auto;
    bottom: 12px;
    transform: none;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }

  .hhb-fcta__inner {
    flex-direction: row;
    border-radius: 999px;
    gap: 8px;
    padding: 8px;
  }

  .hhb-fcta__item:hover,
  .hhb-fcta__item:focus-visible {
    transform: scale(1.08);
  }

  .hhb-fcta__tooltip {
    display: none;
  }
}

@media (max-width: 600px) {
  .hhb-fcta.is-hide-mobile {
    display: none;
  }
}
