:root {
  --fc-size: 56px;
  --fc-gap: 12px;
  --fc-radius: 18px;

  --fc-shadow: 0 14px 34px rgba(23, 23, 23, 0.18);

  --fc-bg: #fffdfa;
  --fc-text: #211f1d;
  --fc-border: #ded9d1;

  --fc-primary: #a94e00;
  --fc-primary-hover: #7a3500;
}
.fc-widget {
  position: fixed;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fc-gap);
  font-family: Arial, sans-serif;
}
.fc-widget.fc-right {
  right: 24px;
}
.fc-widget.fc-left {
  left: 24px;
}
.fc-widget.fc-dark {
  --fc-bg: #171717;
  --fc-text: #fff;
  --fc-border: #3a332c;
  --fc-primary: #a94e00;
  --fc-primary-hover: #7a3500;
}
.fc-actions {
  display: flex;
  flex-direction: column;
  gap: var(--fc-gap);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: 0.22s;
}
.fc-widget.fc-open .fc-actions {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.fc-item,
.fc-main {
  width: var(--fc-size);
  height: var(--fc-size);
  border-radius: var(--fc-radius);
  border: 1px solid var(--fc-border);
  background: var(--fc-bg);
  color: var(--fc-text);
  display: grid;
  place-items: center;
  box-shadow: var(--fc-shadow);
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}
.fc-main {
  border: none;
  background: var(--fc-primary);
  color: #fff;
}
.fc-main:hover {
  background: var(--fc-primary-hover);
}
.fc-item:hover,
.fc-main:hover {
  transform: translateY(-3px);
}
.fc-item i,
.fc-main i {
  font-size: 25px;
  line-height: 1;
}
.fc-item[data-type="whatsapp"] {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.fc-item[data-type="phone"] {
  background: #7a3500;
  color: #fff;
  border-color: #7a3500;
}
.fc-item[data-type="instagram"] {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  color: #fff;
  border: none;
}
.fc-item[data-type="facebook"] {
  background: #1877f2;
  color: #fff;
  border: none;
}
.fc-item[data-type="linkedin"] {
  background: #0a66c2;
  color: #fff;
  border: none;
}
.fc-item[data-type="youtube"] {
  background: #f00;
  color: #fff;
  border: none;
}
.fc-item[data-type="x"] {
  background: #111;
  color: #fff;
  border: none;
}
.fc-tooltip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #14272c;
  color: #fff;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
}
.fc-right .fc-tooltip {
  right: calc(100% + 12px);
  transform: translate(6px, -50%);
}
.fc-left .fc-tooltip {
  left: calc(100% + 12px);
  transform: translate(-6px, -50%);
}
.fc-item:hover .fc-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}
.fc-badge {
  position: absolute;
  right: -3px;
  top: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff4d4f;
  border: 2px solid #fff;
}
@media (max-width: 640px) {
  .fc-widget {
    bottom: 16px;
  }
  .fc-widget.fc-right {
    right: 16px;
  }
  .fc-widget.fc-left {
    left: 16px;
  }
  :root {
    --fc-size: 52px;
    --fc-radius: 16px;
  }
  .fc-tooltip {
    display: none;
  }
}
