.csm-share-buttons {
  margin: 28px 0;
  width: 100%;
}

.csm-share-heading {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.csm-share-buttons__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}

.csm-share-buttons__list > * {
  min-width: 0;
}

.csm-share-buttons .csm-share-button,
.csm-share-buttons .csm-share-button:link,
.csm-share-buttons .csm-share-button:visited,
.csm-share-buttons .csm-share-button:hover,
.csm-share-buttons .csm-share-button:active,
.csm-share-buttons .csm-share-button:focus {
  position: relative;
  isolation: isolate;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  border-radius: 999px !important;
  box-shadow:
    0 16px 34px rgba(17, 24, 39, 0.20),
    inset 0 1px 0 rgba(255,255,255,.24),
    0 0 0 1px rgba(255,255,255,.04) !important;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  min-height: 48px;
  height: auto;
  padding: 10px 18px 10px 14px !important;
  min-width: 196px;
  max-width: 100%;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  font: inherit;
}

.csm-share-buttons .csm-share-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.26), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.03));
  z-index: -1;
}

.csm-share-buttons .csm-share-button::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -22%;
  width: 42%;
  height: 260%;
  transform: rotate(22deg) translateX(-180%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: transform .6s ease;
  pointer-events: none;
}

.csm-share-buttons .csm-share-button:hover,
.csm-share-buttons .csm-share-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.28) !important;
  filter: saturate(1.08);
  outline: none;
}

.csm-share-buttons .csm-share-button:hover::after,
.csm-share-buttons .csm-share-button:focus-visible::after {
  transform: rotate(22deg) translateX(320%);
}

.csm-share-buttons .csm-share-button:active {
  transform: translateY(0);
}

.csm-share-button__icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 1px 10px rgba(0,0,0,.16);
  line-height: 0;
  flex: 0 0 30px;
}

.csm-share-button__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.csm-share-button__text {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}

.csm-share-buttons .csm-share-button.csm-share-button--facebook,
.csm-share-buttons .csm-share-button.csm-share-button--facebook:link,
.csm-share-buttons .csm-share-button.csm-share-button--facebook:visited {
  background: linear-gradient(135deg, #4aa4ff 0%, #1877f2 48%, #0b57d0 100%) !important;
  box-shadow:
    0 16px 34px rgba(24, 119, 242, 0.28),
    inset 0 1px 0 rgba(255,255,255,.22),
    0 0 0 1px rgba(255,255,255,.04) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--facebook:hover,
.csm-share-buttons .csm-share-button.csm-share-button--facebook:focus-visible {
  box-shadow:
    0 18px 42px rgba(24, 119, 242, 0.34),
    inset 0 1px 0 rgba(255,255,255,.26),
    0 0 0 4px rgba(24, 119, 242, 0.14) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--whatsapp,
.csm-share-buttons .csm-share-button.csm-share-button--whatsapp:link,
.csm-share-buttons .csm-share-button.csm-share-button--whatsapp:visited {
  background: linear-gradient(135deg, #47df84 0%, #25d366 50%, #128c7e 100%) !important;
  box-shadow:
    0 16px 34px rgba(37, 211, 102, 0.26),
    inset 0 1px 0 rgba(255,255,255,.22),
    0 0 0 1px rgba(255,255,255,.04) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--whatsapp:hover,
.csm-share-buttons .csm-share-button.csm-share-button--whatsapp:focus-visible {
  box-shadow:
    0 18px 42px rgba(37, 211, 102, 0.33),
    inset 0 1px 0 rgba(255,255,255,.26),
    0 0 0 4px rgba(37, 211, 102, 0.14) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--instagram,
.csm-share-buttons .csm-share-button.csm-share-button--instagram:link,
.csm-share-buttons .csm-share-button.csm-share-button--instagram:visited {
  background: linear-gradient(135deg, #f58529 0%, #feda77 16%, #dd2a7b 50%, #8134af 78%, #515bd4 100%) !important;
  box-shadow:
    0 16px 34px rgba(221, 42, 123, 0.28),
    inset 0 1px 0 rgba(255,255,255,.22),
    0 0 0 1px rgba(255,255,255,.04) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--instagram:hover,
.csm-share-buttons .csm-share-button.csm-share-button--instagram:focus-visible {
  box-shadow:
    0 18px 42px rgba(221, 42, 123, 0.35),
    inset 0 1px 0 rgba(255,255,255,.26),
    0 0 0 4px rgba(221, 42, 123, 0.14) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--tiktok,
.csm-share-buttons .csm-share-button.csm-share-button--tiktok:link,
.csm-share-buttons .csm-share-button.csm-share-button--tiktok:visited {
  background: linear-gradient(135deg, #1b2131 0%, #101522 70%, #0a0f1b 100%) !important;
  box-shadow:
    -3px 0 0 rgba(37, 244, 238, 0.60),
    3px 0 0 rgba(254, 44, 85, 0.42),
    0 16px 34px rgba(11, 16, 32, 0.30),
    inset 0 1px 0 rgba(255,255,255,.20) !important;
  border-color: rgba(255,255,255,.12) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--tiktok:hover,
.csm-share-buttons .csm-share-button.csm-share-button--tiktok:focus-visible {
  box-shadow:
    -3px 0 0 rgba(37, 244, 238, 0.75),
    3px 0 0 rgba(254, 44, 85, 0.55),
    0 18px 42px rgba(11, 16, 32, 0.38),
    inset 0 1px 0 rgba(255,255,255,.24),
    0 0 0 4px rgba(37, 244, 238, 0.08) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--native,
.csm-share-buttons .csm-share-button.csm-share-button--native:link,
.csm-share-buttons .csm-share-button.csm-share-button--native:visited {
  background: linear-gradient(135deg, #8a7dff 0%, #6366f1 42%, #7c3aed 100%) !important;
  box-shadow:
    0 16px 34px rgba(99, 102, 241, 0.26),
    inset 0 1px 0 rgba(255,255,255,.22),
    0 0 0 1px rgba(255,255,255,.04) !important;
}

.csm-share-buttons .csm-share-button.csm-share-button--native:hover,
.csm-share-buttons .csm-share-button.csm-share-button--native:focus-visible {
  box-shadow:
    0 18px 42px rgba(99, 102, 241, 0.34),
    inset 0 1px 0 rgba(255,255,255,.26),
    0 0 0 4px rgba(99, 102, 241, 0.14) !important;
}

.csm-share-toast {
  margin-top: 12px;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(17,24,39,.92);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  max-width: min(100%, 520px);
}

@media (max-width: 767px) {
  .csm-share-buttons .csm-share-buttons__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    align-items: stretch;
  }

  .csm-share-buttons .csm-share-button,
  .csm-share-buttons .csm-share-button:link,
  .csm-share-buttons .csm-share-button:visited,
  .csm-share-buttons .csm-share-button:hover,
  .csm-share-buttons .csm-share-button:active,
  .csm-share-buttons .csm-share-button:focus {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 48px;
    justify-content: flex-start !important;
    padding: 10px 14px 10px 13px !important;
  }

  .csm-share-buttons .csm-share-button__icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    flex: 0 0 28px;
  }

  .csm-share-buttons .csm-share-button__text {
    font-size: 13px;
  }
}
