.hhb-fcta {
  --hhb-fcta-btn-size: 46px;
  --hhb-fcta-icon-size: 20px;
  --hhb-fcta-panel-bg: #F8F5ED;
  --hhb-fcta-btn-bg: #D4A017;
  --hhb-fcta-icon: #fff;
  --hhb-fcta-mobile-breakpoint: 991px;

  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  top: auto;
  left: auto;
  transform: none;
  pointer-events: none;
}

.hhb-fcta--left,
.hhb-fcta--right {
  right: 20px;
  bottom: 80px;
  left: auto;
}

.hhb-fcta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 70px;
  padding: 12px 4px;
  border-radius: 999px;
  background: var(--hhb-fcta-panel-bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
  overflow: visible;
}

.hhb-fcta.is-glass .hhb-fcta__inner {
  background: var(--hhb-fcta-panel-bg);
  backdrop-filter: none;
  border: 0;
}

.hhb-fcta__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--hhb-fcta-icon);
  text-decoration: none;
  overflow: visible;
  box-shadow: none;
  transition: all .2s ease;
  flex-shrink: 0;
  padding: 0;
  gap: 6px;
}

.hhb-fcta__item:hover,
.hhb-fcta__item:focus-visible {
  transform: scale(1.05);
  box-shadow: none;
}

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

.hhb-fcta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hhb-fcta-icon);
  width: var(--hhb-fcta-btn-size);
  height: var(--hhb-fcta-btn-size);
  flex-shrink: 0;
  background: var(--hhb-fcta-btn-bg);
  border-radius: 50%;
  transition: all .2s ease;
  position: relative;
}

.hhb-fcta__icon img {
  width: var(--hhb-fcta-icon-size);
  height: var(--hhb-fcta-icon-size);
  object-fit: contain;
  display: block;
}

.hhb-fcta__icon .dashicons {
  font-size: var(--hhb-fcta-icon-size);
  width: var(--hhb-fcta-icon-size);
  height: var(--hhb-fcta-icon-size);
}

.hhb-fcta__label {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
  color: #2e2a22;
  word-wrap: break-word;
  white-space: normal;
  max-width: 56px;
  background: transparent;
}

.hhb-fcta__tooltip {
  display: none;
}

.hhb-fcta__item.is-pulse .hhb-fcta__icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.36);
  animation: hhbPulse 1.8s infinite;
}

@keyframes hhbPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.36); }
  70% { box-shadow: 0 0 0 14px rgba(212, 160, 23, 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(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) 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: 767px) {
  .hhb-fcta {
   right: 10px !important;
        bottom: 80px;
        transform: none;
        left: auto !important;
  }

  .hhb-fcta__inner {
    flex-direction: column;
    width: auto;
    border-radius: 999px;
    gap: 12px;
    padding: 10px;
background: #f8f5edd9 !important;
  }

  .hhb-fcta__item {
    width: auto;
    height: auto;
    padding: 0;
    gap: 4px;
  }

  .hhb-fcta__icon {
    width: 34px;
    height: 34px;
  }

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

  .hhb-fcta__icon img {
    width: 20px;
    height: 20px;
  }

  .hhb-fcta__label {
    font-size: 10px;
    max-width: 50px;
  }

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

  .hhb-fcta__tooltip {
    display: none;
  }
}

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