:root {
  --cuf-call-color: #d71920;
  --cuf-call-color-dark: #9f1016;
  --cuf-whatsapp-color: #25d366;
  --cuf-whatsapp-color-dark: #128c4a;
  --cuf-pill-text: #ffffff;
  --cuf-pill-shadow: 0 14px 34px rgba(20, 32, 24, 0.24);
}

.cuf-contact-pills,
.cuf-contact-pills * {
  box-sizing: border-box;
}

.cuf-contact-pills {
  position: fixed;
  z-index: 999999;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: Arial, Helvetica, sans-serif;
  transform: translateY(-50%);
}

.cuf-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px 10px 12px;
  color: var(--cuf-pill-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  border-radius: 999px 0 0 999px;
  box-shadow: var(--cuf-pill-shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.cuf-contact-pill:hover,
.cuf-contact-pill:focus-visible {
  color: var(--cuf-pill-text);
  filter: brightness(1.06);
  box-shadow: 0 18px 42px rgba(20, 32, 24, 0.32);
  transform: translateX(-4px);
}

.cuf-contact-pill:focus-visible {
  outline: 3px solid rgba(21, 21, 21, 0.22);
  outline-offset: 3px;
}

.cuf-contact-pill--whatsapp {
  background: linear-gradient(135deg, var(--cuf-whatsapp-color), var(--cuf-whatsapp-color-dark));
}

.cuf-contact-pill--call {
  background: linear-gradient(135deg, var(--cuf-call-color), var(--cuf-call-color-dark));
}

.cuf-contact-pill__icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  color: currentColor;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.cuf-contact-pill__icon svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cuf-contact-pill__text {
  white-space: nowrap;
}

@media (max-width: 680px) {
  body {
    padding-bottom: 68px;
  }

  .cuf-contact-pills {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    transform: none;
  }

  .cuf-contact-pill {
    justify-content: center;
    width: 100%;
    min-height: 62px;
    padding: 14px 10px;
    border-radius: 0;
  }

  .cuf-contact-pill:hover,
  .cuf-contact-pill:focus-visible {
    transform: none;
  }

  .cuf-contact-pill__text {
    font-size: 14px;
  }
}
