/* Floating support widget: Telegram and WhatsApp, editable in the admin panel. */
.support-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: inherit;
}
.support-float__toggle {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #272128;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(20, 16, 12, .28);
  transition: transform .16s ease, box-shadow .16s ease;
}
.support-float__toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20, 16, 12, .34); }
.support-float__toggle:focus-visible { outline: 2px solid #272128; outline-offset: 3px; }
.support-float__toggle[aria-expanded="true"] { transform: rotate(45deg); }

.support-float__panel {
  width: 260px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(20, 16, 12, .24);
  border: 1px solid rgba(20, 16, 12, .07);
}
.support-float__panel[hidden] { display: none; }
.support-float__title { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #1a1a1a; }
.support-float__note { margin: 0 0 12px; font-size: 12px; line-height: 1.55; color: #6b6b6b; }

.support-float__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
}
.support-float__link:hover { background: #f4f1ec; }
.support-float__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.support-float__icon--tg { background: #29a9eb; }
.support-float__icon--wa { background: #25d366; }
.support-float__text { display: flex; flex-direction: column; line-height: 1.3; }
.support-float__text strong { font-size: 14px; font-weight: 600; }
.support-float__text small { font-size: 11px; color: #7a7a7a; }

@media (max-width: 860px) {
  .support-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .support-float__toggle { width: 50px; height: 50px; }
  .support-float__panel { width: min(260px, calc(100vw - 28px)); }
}
@media (prefers-reduced-motion: reduce) {
  .support-float__toggle { transition: none; }
}
