.hofco-quick-actions {
  position: fixed;
  z-index: 9800;
  top: 50%;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.hofco-quick-action,
.hofco-back-to-top {
  box-sizing: border-box;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(119, 122, 80, .35);
  border-radius: 50%;
  background: rgba(251, 250, 246, .96);
  box-shadow: 0 5px 20px rgba(45, 45, 34, .16);
  color: #777a50;
  text-decoration: none;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hofco-quick-action i,
.hofco-back-to-top i {
  width: 25px;
  height: 25px;
  font-size: 20px;
}

.hofco-quick-action:hover,
.hofco-quick-action:focus-visible,
.hofco-back-to-top:hover,
.hofco-back-to-top:focus-visible {
  border-color: #626541;
  outline: none;
  background: #626541;
  box-shadow: 0 7px 22px rgba(45, 45, 34, .23);
  color: #fff;
  transform: translateY(-2px);
}

.hofco-quick-action-consult {
  border-color: #777a50;
  background: #777a50;
  color: #fff;
}

.hofco-quick-action-consult:hover,
.hofco-quick-action-consult:focus-visible {
  border-color: #626541;
  background: #626541;
}

.hofco-back-to-top {
  position: fixed;
  z-index: 9800;
  bottom: 22px;
  left: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.hofco-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hofco-back-to-top:disabled {
  cursor: default;
}

.hofco-quick-action:focus-visible,
.hofco-back-to-top:focus-visible {
  outline: 3px solid rgba(119, 122, 80, .28);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .hofco-quick-actions {
    right: 8px;
    gap: 8px;
  }

  .hofco-quick-action,
  .hofco-back-to-top {
    width: 46px;
    height: 46px;
  }

  .hofco-quick-action i,
  .hofco-back-to-top i {
    width: 22px;
    height: 22px;
    font-size: 18px;
  }

  .hofco-back-to-top {
    bottom: 14px;
    left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hofco-quick-action,
  .hofco-back-to-top {
    transition: none;
  }
}

@media print {
  .hofco-quick-actions,
  .hofco-back-to-top {
    display: none !important;
  }
}
