/* PDP 信頼バッジ（Phase3） */

.trustBadgeRoot {
  min-height: 0;
}

.trustBadge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin: 16px 0;
  padding: 0 4px;
}

.trustBadge__pill {
  display: flex;
  align-items: center;
  border-radius: 999px;
  min-height: 40px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.trustBadge__pill--default {
  background: #fff;
  padding: 6px 10px;
  gap: 5px;
  font-size: 11px;
  color: #2F3E55;
  line-height: 1.2;
}

/* 画像は公式フルカラーPNG（背景は画像内に含む）。ピルに背景色は付けない */
.trustBadge__pill--image {
  background: transparent;
  padding: 8px 14px;
  justify-content: center;
}

.trustBadge__pill--image img {
  display: block;
  height: 20px;
  width: auto;
}

.trustBadge__icon {
  display: flex;
  align-items: center;
  font-size: 16px;
}

.trustBadge__iconImg {
  display: block;
  width: auto;
  height: 16px;
}

.trustBadge__icon svg {
  width: 16px;
  height: 16px;
  stroke: #2F3E55;
}

.trustBadge__sub {
  font-size: 9px;
  color: #888;
}

@media screen and (max-width: 767px) {
  .trustBadge {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .trustBadge__pill {
    flex: 1 1 calc(50% - 6px);
    min-width: calc(50% - 6px);
    max-width: 100%;
    justify-content: center;
  }

  .trustBadge__pill--default {
    padding: 10px 12px;
    gap: 8px;
    font-size: 12px;
    line-height: 1.25;
    min-height: 52px;
  }

  /* SP：お気に入り/シェアのアイコンバランスに寄せる */
  .trustBadge__icon {
    font-size: 20px;
  }

  .trustBadge__icon svg {
    width: 20px;
    height: 20px;
  }

  .trustBadge__iconImg {
    height: 20px;
  }

  .trustBadge__sub {
    font-size: 10px;
  }
}
