.hf-proof-safe {
    width: 100%;
    max-width: 100%;
    margin: 10px 0 14px;
    padding: 10px;
    border: 1px solid #e7ebf0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(26, 38, 61, 0.07);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #1d2430;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hf-proof-safe *,
  .hf-proof-safe *::before,
  .hf-proof-safe *::after {
    box-sizing: border-box;
  }

  .hf-proof-safe__live {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 38px;
    padding: 9px 11px;
    border: 1px solid #e9edf2;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(26, 38, 61, 0.05);
    font-size: 12.5px;
    line-height: 1.2;
    font-weight: 850;
    color: #157044;
    overflow: hidden;
  }

  .hf-proof-safe__live-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #22c76a;
    box-shadow: 0 0 0 6px rgba(34, 199, 106, 0.15);
    flex: 0 0 auto;
  }

  .hf-proof-safe__live-text {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hf-proof-safe__live-text strong,
  .hf-proof-safe__number-animate {
    display: inline-block;
    color: #071923;
    font-weight: 950;
  }

  .hf-proof-safe__number-animate.is-changing {
    animation: hfNumberPop 0.42s ease;
  }

  .hf-proof-safe__live.is-switching .hf-proof-safe__live-text {
    animation: hfTextSlide 0.42s ease;
  }

  .hf-proof-safe__customer-pill {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b9ddff 0%, #6ab0ff 100%);
    overflow: hidden;
  }

  /* 动态闪光扫过效果 */
  .hf-proof-safe__customer-pill::before {
    content: "";
    position: absolute;
    top: -70%;
    left: -55%;
    z-index: 1;
    width: 34%;
    height: 240%;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.18) 25%,
      rgba(255, 255, 255, 0.72) 50%,
      rgba(255, 255, 255, 0.18) 75%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(18deg);
    animation: hfCustomerShine 3.4s ease-in-out infinite;
  }

  .hf-proof-safe__customer-left,
  .hf-proof-safe__customer-right {
    position: relative;
    z-index: 2;
  }

  .hf-proof-safe__customer-left {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
  }

  .hf-proof-safe__customer-avatars {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 7px;
  }

  .hf-proof-safe__customer-avatar {
    position: relative;
    width: 28px;
    height: 28px;
    margin-left: -7px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    overflow: hidden;
    background: #f0e2ca;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
  }

  .hf-proof-safe__customer-avatar:first-child {
    margin-left: 0;
  }

  .hf-proof-safe__customer-avatar::after {
    content: attr(data-initial);
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    line-height: 1;
    font-weight: 950;
    color: #ffffff;
    background: linear-gradient(180deg, #f5b14d 0%, #d86b1f 100%);
  }

  .hf-proof-safe__customer-avatar img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hf-proof-safe__customer-copy {
    min-width: 0;
    flex: 1 1 auto;
  }

  .hf-proof-safe__customer-title {
    display: block;
    font-size: 9px;
    line-height: 1.08;
    font-weight: 950;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(17, 54, 94, 0.22);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hf-proof-safe__customer-right {
    flex: 0 0 auto;
    min-width: 104px;
    padding: 8px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #408efa 0%, #1971ec 100%);
    box-shadow: 0 5px 12px rgba(16, 93, 204, 0.22);
    text-align: center;
    color: #ffffff;
  }

  .hf-proof-safe__customer-number {
    display: block;
    font-size: 16px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0.01em;
  }

  .hf-proof-safe__customer-note {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
    opacity: 0.96;
  }

  .hf-proof-safe__deal-card {
    margin-top: 8px;
    padding: 12px 10px;
    border: 1px solid #edf1f5;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
    text-align: center;
  }

  .hf-proof-safe__deal-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 5px;
  }

  .hf-proof-safe__title {
    margin: 0;
    font-size: 13px;
    line-height: 1.22;
    font-weight: 950;
    color: #1d2430;
  }

  .hf-proof-safe__title strong {
    display: inline-block;
    color: #b85a13;
    font-size: 18px;
    font-weight: 950;
  }

  .hf-proof-safe__title span {
    color: #b85a13;
    font-weight: 950;
  }

  .hf-proof-safe__secure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 8px;
    border: 1px solid #dcefe6;
    border-radius: 999px;
    background: #f2fbf6;
    font-size: 9.5px;
    line-height: 1;
    font-weight: 950;
    color: #071923;
    white-space: nowrap;
  }

  .hf-proof-safe__secure-icon {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1fb66c;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
  }

  .hf-proof-safe__sub {
    max-width: 330px;
    margin: 0 auto;
    font-size: 10.5px;
    line-height: 1.32;
    font-weight: 850;
    color: #756653;
    letter-spacing: 0.01em;
  }

  .hf-proof-safe__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin-top: 8px;
  }

  .hf-proof-safe__benefit {
    min-width: 0;
    padding: 7px 4px;
    border: 1px solid #edf1f5;
    border-radius: 999px;
    background: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
  }

  .hf-proof-safe__benefit-text {
    display: block;
    font-size: 8.4px;
    line-height: 1.12;
    font-weight: 950;
    color: #333c4e;
    white-space: nowrap;
    letter-spacing: 0;
  }

  @keyframes hfNumberPop {
    0% {
      transform: translateY(0) scale(1);
      opacity: 1;
    }

    35% {
      transform: translateY(-3px) scale(1.12);
      opacity: 0.82;
    }

    100% {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }

  @keyframes hfTextSlide {
    0% {
      transform: translateY(5px);
      opacity: 0.35;
    }

    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes hfCustomerShine {
    0% {
      left: -55%;
      opacity: 0;
    }

    12% {
      opacity: 1;
    }

    48% {
      left: 125%;
      opacity: 1;
    }

    60%,
    100% {
      left: 125%;
      opacity: 0;
    }
  }

  @media screen and (min-width: 430px) {
    .hf-proof-safe {
      padding: 11px;
      border-radius: 17px;
    }

    .hf-proof-safe__live {
      font-size: 13px;
    }

    .hf-proof-safe__customer-avatar {
      width: 29px;
      height: 29px;
    }

    .hf-proof-safe__customer-title {
      font-size: 9.6px;
    }

    .hf-proof-safe__customer-right {
      min-width: 112px;
      padding: 8px 11px;
    }

    .hf-proof-safe__customer-number {
      font-size: 17px;
    }

    .hf-proof-safe__customer-note {
      font-size: 9.4px;
    }

    .hf-proof-safe__title {
      font-size: 14px;
    }

    .hf-proof-safe__title strong {
      font-size: 19px;
    }

    .hf-proof-safe__secure {
      font-size: 10px;
      padding: 6px 9px;
    }

    .hf-proof-safe__sub {
      font-size: 11px;
    }

    .hf-proof-safe__benefit-text {
      font-size: 9px;
    }
  }

  @media screen and (max-width: 360px) {
    .hf-proof-safe {
      padding: 9px;
    }

    .hf-proof-safe__live {
      padding: 8px 9px;
      font-size: 11.2px;
    }

    .hf-proof-safe__customer-pill {
      padding: 8px;
      gap: 6px;
    }

    .hf-proof-safe__customer-avatar {
      width: 25px;
      height: 25px;
      margin-left: -7px;
    }

    .hf-proof-safe__customer-title {
      font-size: 8.1px;
    }

    .hf-proof-safe__customer-right {
      min-width: 96px;
      padding: 7px 8px;
    }

    .hf-proof-safe__customer-number {
      font-size: 15px;
    }

    .hf-proof-safe__customer-note {
      font-size: 8.2px;
    }

    .hf-proof-safe__deal-card {
      padding: 10px 8px;
    }

    .hf-proof-safe__deal-head {
      gap: 5px;
      margin-bottom: 5px;
    }

    .hf-proof-safe__title {
      font-size: 12px;
    }

    .hf-proof-safe__title strong {
      font-size: 16px;
    }

    .hf-proof-safe__secure {
      font-size: 8.8px;
      padding: 5px 7px;
    }

    .hf-proof-safe__secure-icon {
      width: 13px;
      height: 13px;
      font-size: 9px;
    }

    .hf-proof-safe__sub {
      font-size: 9.4px;
    }

    .hf-proof-safe__benefit {
      min-height: 30px;
      padding: 6px 3px;
    }

    .hf-proof-safe__benefit-text {
      font-size: 7.6px;
    }
  }

/* =========================================================
     TRUSTPILOT COMPACT TRUST CARD
     Designed for placement directly below product title
  ========================================================== */

  [data-gg-title-trust],
  [data-gg-title-trust] * {
    box-sizing: border-box;
  }

  [data-gg-title-trust] {
    --gg-tp-green: #00b67a;
    --gg-tp-text: #111827;
    --gg-tp-muted: #8b95a7;
    --gg-tp-border: #e5eaf0;

    width: 100%;

    margin:
      7px
      0
      11px;

    font-family:
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Arial,
      sans-serif;
  }


  /* =========================================================
     CARD
  ========================================================== */

  [data-gg-title-trust] .gg-title-trust__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding:
      10px
      12px
      11px;

    overflow: hidden;

    border:
      1px
      solid
      var(--gg-tp-border);

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
      0 3px 10px rgba(31, 41, 55, 0.05);

    opacity: 0;

    transform:
      translateY(5px);

    transition:
      opacity 0.45s ease,
      transform 0.45s ease;
  }


  [data-gg-title-trust] .gg-title-trust__card.is-visible {
    opacity: 1;

    transform:
      translateY(0);
  }


  /* =========================================================
     TOP ROW
  ========================================================== */

  [data-gg-title-trust] .gg-title-trust__top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;

    gap: 7px;

    width: 100%;
  }


  /* =========================================================
     STAR GROUP
  ========================================================== */

  [data-gg-title-trust] .gg-title-trust__stars {
    display: flex;
    align-items: center;

    gap: 2px;

    flex: 0 0 auto;
  }


  /* INDIVIDUAL GREEN STAR BOX */

  [data-gg-title-trust] .gg-title-trust__star-box {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 3px;

    background:
      var(--gg-tp-green);

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    opacity: 0;

    transform:
      translateY(3px)
      scale(0.82);
  }


  /* RUN STAR ENTRANCE */

  [data-gg-title-trust] .gg-title-trust__card.is-visible
  .gg-title-trust__star-box {
    animation:
      ggTitleTrustStarIn
      0.38s
      cubic-bezier(0.2, 0.8, 0.2, 1)
      forwards;
  }


  [data-gg-title-trust] .gg-title-trust__star-box:nth-child(1) {
    animation-delay: 0.04s;
  }

  [data-gg-title-trust] .gg-title-trust__star-box:nth-child(2) {
    animation-delay: 0.09s;
  }

  [data-gg-title-trust] .gg-title-trust__star-box:nth-child(3) {
    animation-delay: 0.14s;
  }

  [data-gg-title-trust] .gg-title-trust__star-box:nth-child(4) {
    animation-delay: 0.19s;
  }

  [data-gg-title-trust] .gg-title-trust__star-box:nth-child(5) {
    animation-delay: 0.24s;
  }


  /* =========================================================
     RATING COPY
  ========================================================== */

  [data-gg-title-trust] .gg-title-trust__rating {
    min-width: 0;

    color: var(--gg-tp-text);

    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;

    white-space: nowrap;
  }


  [data-gg-title-trust] .gg-title-trust__rating strong {
    display: inline-block;

    color: #111111;

    font-weight: 900;
  }


  [data-gg-title-trust] .gg-title-trust__rating-number,
  [data-gg-title-trust] .gg-title-trust__review-number {
    display: inline-block;
  }


  [data-gg-title-trust] .gg-title-trust__card.is-visible
  .gg-title-trust__rating-number {
    animation:
      ggTitleTrustNumberPop
      0.42s
      ease
      0.24s
      both;
  }


  [data-gg-title-trust] .gg-title-trust__card.is-visible
  .gg-title-trust__review-number {
    animation:
      ggTitleTrustNumberPop
      0.42s
      ease
      0.31s
      both;
  }


  [data-gg-title-trust] .gg-title-trust__muted {
    color:
      var(--gg-tp-muted);

    font-weight: 500;
  }


  /* =========================================================
     BRAND ROW
  ========================================================== */

  [data-gg-title-trust] .gg-title-trust__brand {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 9px;

    color: #111827;

    font-size: 16px;
    font-weight: 800;
    line-height: 1;
  }


  [data-gg-title-trust] .gg-title-trust__brand-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color:
      var(--gg-tp-green);

    font-size: 18px;
    line-height: 1;

    transform-origin:
      center;
  }


  [data-gg-title-trust] .gg-title-trust__card.is-visible
  .gg-title-trust__brand-star {
    animation:
      ggTitleTrustBrandPulse
      0.6s
      ease
      0.38s
      both;
  }


  /* =========================================================
     ANIMATIONS
  ========================================================== */

  @keyframes ggTitleTrustStarIn {

    0% {
      opacity: 0;

      transform:
        translateY(3px)
        scale(0.82);
    }

    70% {
      opacity: 1;

      transform:
        translateY(-1px)
        scale(1.08);
    }

    100% {
      opacity: 1;

      transform:
        translateY(0)
        scale(1);
    }

  }


  @keyframes ggTitleTrustNumberPop {

    0% {
      opacity: 0.65;

      transform:
        translateY(1px)
        scale(0.94);
    }

    55% {
      opacity: 1;

      transform:
        translateY(-1px)
        scale(1.08);
    }

    100% {
      opacity: 1;

      transform:
        translateY(0)
        scale(1);
    }

  }


  @keyframes ggTitleTrustBrandPulse {

    0% {
      opacity: 0.5;

      transform:
        scale(0.8)
        rotate(-8deg);
    }

    60% {
      opacity: 1;

      transform:
        scale(1.14)
        rotate(3deg);
    }

    100% {
      opacity: 1;

      transform:
        scale(1)
        rotate(0deg);
    }

  }


  /* =========================================================
     MOBILE
  ========================================================== */

  @media screen and (max-width: 420px) {

    [data-gg-title-trust] {
      margin:
        6px
        0
        10px;
    }


    [data-gg-title-trust] .gg-title-trust__card {
      padding:
        9px
        9px
        10px;

      border-radius: 11px;
    }


    [data-gg-title-trust] .gg-title-trust__top {
      gap: 6px;
    }


    [data-gg-title-trust] .gg-title-trust__stars {
      gap: 2px;
    }


    [data-gg-title-trust] .gg-title-trust__star-box {
      width: 19px;
      height: 19px;

      font-size: 11px;
    }


    [data-gg-title-trust] .gg-title-trust__rating {
      font-size: 12px;
    }


    [data-gg-title-trust] .gg-title-trust__brand {
      margin-top: 8px;

      font-size: 15px;
    }


    [data-gg-title-trust] .gg-title-trust__brand-star {
      font-size: 17px;
    }

  }


  /* =========================================================
     VERY SMALL MOBILE
  ========================================================== */

  @media screen and (max-width: 360px) {

    [data-gg-title-trust] .gg-title-trust__card {
      padding:
        8px
        7px
        9px;
    }


    [data-gg-title-trust] .gg-title-trust__top {
      gap: 5px;
    }


    [data-gg-title-trust] .gg-title-trust__star-box {
      width: 17px;
      height: 17px;

      font-size: 10px;
    }


    [data-gg-title-trust] .gg-title-trust__rating {
      font-size: 10.8px;
    }


    [data-gg-title-trust] .gg-title-trust__brand {
      font-size: 14px;
    }

  }


  /* =========================================================
     REDUCED MOTION
  ========================================================== */

  @media (prefers-reduced-motion: reduce) {

    [data-gg-title-trust] .gg-title-trust__card,
    [data-gg-title-trust] .gg-title-trust__star-box,
    [data-gg-title-trust] .gg-title-trust__rating-number,
    [data-gg-title-trust] .gg-title-trust__review-number,
    [data-gg-title-trust] .gg-title-trust__brand-star {
      animation: none;
      transition: none;
    }


    [data-gg-title-trust] .gg-title-trust__card,
    [data-gg-title-trust] .gg-title-trust__star-box {
      opacity: 1;

      transform: none;
    }

  }


.shop-proof-banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 14px;
  border-radius: 12px;
}
