.supei-hf-social {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.supei-hf-social__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.supei-hf-social__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.supei-hf-social .supei-hf-social__item {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 48px;
  max-width: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #e2e8f0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.supei-hf-social button.supei-hf-social__item {
  cursor: pointer;
}

.supei-hf-social__label,
.pdp-share-tools__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.supei-hf-social a.supei-hf-social__item:hover,
.supei-hf-social button.supei-hf-social__item:hover,
.supei-hf-social a.supei-hf-social__item:focus-visible,
.supei-hf-social button.supei-hf-social__item:focus-visible {
  color: #fff;
  background: transparent;
  transform: translateY(-2px) scale(1.05);
}

.supei-hf-social__item--identified {
  cursor: help;
}

.supei-hf-social__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: #334155;
  line-height: 1;
}

.supei-hf-social__mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* The parent footer stylesheet forces `display: block` on every span inside the last footer column
   (`body .supei-hf-footer__col:last-child span`), which also catches this icon wrapper. Block
   display cancels the centring above, so the 22px glyph sits in the top-left corner of the 44px
   circle and its lower-right part is cut by the round edge — the icons read as half-drawn.
   These selectors carry one class more than the footer rule, so the component keeps its own
   display without an !important. */
.supei-hf-footer__col:last-child .supei-hf-social .supei-hf-social__mark,
.supei-hf-footer__col.is-open .supei-hf-social .supei-hf-social__mark,
.supei-hf-social__list .supei-hf-social__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pdp-share-tools__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: #334155;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.pdp-share-tools__mark svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.pdp-share-tools__button--instagram .pdp-share-tools__mark svg {
  fill: none;
}

.supei-hf-social__item--facebook .supei-hf-social__mark {
  background: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 19px;
}

.pdp-share-tools__button--facebook .pdp-share-tools__mark {
  background: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 19px;
}

.supei-hf-social__item--instagram .supei-hf-social__mark {
  background: #e1306c;
}

.pdp-share-tools__button--instagram .pdp-share-tools__mark {
  background: #e1306c;
}

.supei-hf-social__item--wechat .supei-hf-social__mark,
.pdp-share-tools__button--wechat .pdp-share-tools__mark {
  background: #168c46;
}

.supei-hf-social__feedback,
.pdp-share-tools__feedback {
  margin: 9px 0 0;
  color: #bbf7d0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.supei-hf-social__feedback.is-error,
.pdp-share-tools__feedback.is-error {
  color: #fecaca;
}

.pdp-share-tools {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px 20px;
  margin: 18px 0 20px;
  padding: 18px 0;
  border-top: 1px solid #d6e0e6;
  border-bottom: 1px solid #d6e0e6;
}

.pdp-share-tools__intro h2 {
  margin: 0 0 5px;
  color: #071b2d;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
}

.pdp-share-tools__intro p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.55;
}

.pdp-share-tools__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-share-tools .pdp-share-tools__button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #1e293b;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.pdp-share-tools .pdp-share-tools__button:hover,
.pdp-share-tools .pdp-share-tools__button:focus-visible {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.pdp-share-tools__button--tiktok .pdp-share-tools__mark {
  color: #fff;
  background: #111827;
}

.pdp-share-tools__button--xiaohongshu .pdp-share-tools__mark {
  background: #d9232e;
  font-size: 8px;
}

.pdp-share-tools__button--reddit .pdp-share-tools__mark {
  background: #ff4500;
}

.pdp-share-tools__feedback {
  grid-column: 1 / -1;
  margin: 0;
  color: #047857;
}

.pdp-share-tools__feedback.is-error {
  color: #b42318;
}

@media (max-width: 1100px) {
  .pdp-share-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .supei-hf-social__list {
    display: flex;
  }

  .supei-hf-social .supei-hf-social__item {
    width: 48px;
  }

  .pdp-share-tools {
    margin-top: 16px;
    padding: 16px 0;
  }

  .pdp-share-tools__intro h2 {
    font-size: 17px;
  }

  .pdp-share-tools__intro p {
    font-size: 16px;
  }

  .pdp-share-tools .pdp-share-tools__button {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .pdp-share-tools {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .supei-hf-social .supei-hf-social__item,
  .pdp-share-tools .pdp-share-tools__button {
    transition: none;
  }
}
