/* ==================== BOTTOM-RIGHT WIDGET GROUP ==================== */
.widget-group {
  position: fixed;
  bottom: 20px;
  right: 80px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Scroll-to-top button */
.scroll-top-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #555;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
              opacity 0.3s ease,
              box-shadow 0.2s ease,
              color 0.2s ease;
}

.scroll-top-btn.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  color: #e86b35;
  border-color: #e86b35;
  transform: translateY(-2px);
}

/* Callback pill button */
.callback-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e86b35;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 20px 14px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(232, 107, 53, 0.45);
  white-space: nowrap;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
              opacity 0.35s ease,
              box-shadow 0.2s ease;
}

.callback-widget.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.callback-widget:hover {
  box-shadow: 0 8px 32px rgba(232, 107, 53, 0.55);
  transform: translateY(-2px);
}

.callback-widget__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .widget-group {
    bottom: 20px;
    right: 80px;
  }

  .callback-widget {
    padding: 13px 16px 13px 14px;
    font-size: 13px;
  }

  .scroll-top-btn {
    width: 42px;
    height: 42px;
  }
}
