/* HL PDP trust card — aligned columns + quieter premium set
   Scoped to body#product only */

body#product .hl-trust-card {
  --hl-trust-icon: 1.375rem;
  --hl-trust-gap: .7rem;
  background:
    linear-gradient(180deg, #fcfcfd 0%, #f7f8fa 100%) !important;
  border: 1px solid #e4e7ec !important;
  border-radius: 12px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04) !important;
}

body#product .hl-trust-card__section {
  padding: .85rem 1rem .9rem !important;
}

body#product .hl-trust-card__section--pay {
  background: #fff !important;
  border-top: 1px solid #e8ebf0 !important;
  padding-top: .8rem !important;
  padding-bottom: .85rem !important;
}

body#product .hl-trust-card__label {
  margin: 0 0 .55rem !important;
  padding: 0 !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #8a93a1 !important;
  line-height: 1.2 !important;
}

body#product .hl-trust-primary {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .42rem !important;
}

body#product .hl-trust-primary__item,
body#product .hl-trust-details__summary {
  display: grid !important;
  grid-template-columns: var(--hl-trust-icon) minmax(0, 1fr) !important;
  column-gap: var(--hl-trust-gap) !important;
  align-items: start !important;
  margin: 0 !important;
  min-height: 0 !important;
}

body#product .hl-trust-primary__item {
  font-size: .875rem !important;
  line-height: 1.4 !important;
  color: #2f3640 !important;
  font-weight: 550 !important;
}

body#product .hl-trust-primary__icon {
  width: var(--hl-trust-icon) !important;
  height: var(--hl-trust-icon) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: .05rem 0 0 !important;
  flex-shrink: 0 !important;
}

body#product .hl-trust-primary__icon i.material-icons {
  font-size: 1.125rem !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  line-height: 1 !important;
  color: #6b7280 !important;
}

body#product .hl-trust-primary__text {
  min-width: 0 !important;
  padding-top: .05rem !important;
}

body#product .hl-trust-primary__item--eta .hl-stock-dot {
  width: .55rem !important;
  height: .55rem !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .14) !important;
  display: block !important;
}

body#product .hl-trust-primary__item--free {
  color: #166534 !important;
  font-weight: 650 !important;
}

body#product .hl-trust-primary__item--free .hl-trust-primary__icon i.material-icons {
  color: #16a34a !important;
}

/* Product already qualifies for free locker (≥ HLTRUST_FREE_LOCKER_FROM) */
body#product .hl-trust-primary__item--free-now {
  align-items: center !important;
}

body#product .hl-trust-primary__item--free-now .hl-trust-primary__text {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .35rem .4rem !important;
  color: #166534 !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

body#product .hl-trust-free-now__badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: .12rem .45rem !important;
  border-radius: 999px !important;
  background: #dcfce7 !important;
  color: #15803d !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

body#product .hl-trust-carriers li.is-free .delivery-price--free,
body#product .hl-trust-carriers .delivery-price--free {
  color: #15803d !important;
  font-weight: 700 !important;
}

body#product .hl-trust-details {
  margin-top: .55rem !important;
  border-top: 0 !important;
  padding-top: .15rem !important;
}

body#product .hl-trust-details__summary {
  cursor: pointer !important;
  list-style: none !important;
  font-size: .82rem !important;
  font-weight: 650 !important;
  color: #4b5563 !important;
  padding: .35rem 0 !important;
  min-height: 40px !important;
  align-items: center !important;
  user-select: none;
}

body#product .hl-trust-details__summary::-webkit-details-marker { display: none; }
body#product .hl-trust-details__summary::after { content: none !important; }

body#product .hl-trust-details__summary .hl-trust-primary__icon i.material-icons {
  transition: transform .18s ease;
  color: #9aa3af !important;
}

body#product .hl-trust-details[open] .hl-trust-details__summary .hl-trust-primary__icon i.material-icons {
  transform: rotate(180deg);
}

body#product .hl-trust-carriers {
  list-style: none !important;
  margin: .15rem 0 0 !important;
  padding: .35rem 0 .15rem calc(var(--hl-trust-icon) + var(--hl-trust-gap)) !important;
}

body#product .hl-trust-carriers li {
  display: flex !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  font-size: .84rem !important;
  color: #4b5563 !important;
  padding: .3rem 0 !important;
  border-top: 1px dashed #e8ebf0 !important;
}

body#product .hl-trust-carriers li:first-child {
  border-top: 0 !important;
}

body#product .hl-trust-carriers .delivery-price {
  font-weight: 700 !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

body#product .hl-trust-pay {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body#product .hl-trust-pay__link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  text-decoration: none !important;
  color: inherit !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: color .15s ease;
}

body#product .hl-trust-pay__link:hover {
  background: transparent !important;
  border: 0 !important;
}

body#product .hl-trust-pay__link:hover .hl-trust-pay__title {
  color: #d71920 !important;
}

body#product .hl-trust-pay__title {
  font-size: .84rem !important;
  color: #374151 !important;
  font-weight: 600 !important;
}

body#product .hl-trust-pay__logos .hl-pay-strip-img,
body#product .hl-pay-strip-img {
  height: 22px !important;
  width: 160px !important;
  max-width: 160px !important;
  aspect-ratio: 160 / 22;
  object-fit: contain !important;
  display: block !important;
}

body#product .hl-trust-pay__inbank {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: .55rem .85rem !important;
  margin-top: .65rem !important;
}

body#product .hl-trust-pay__inbank .inbank-service-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: .4rem !important;
}

body#product .hl-trust-pay__inbank .inbank-service-label {
  font-size: .78rem !important;
  font-weight: 700 !important;
  color: #18191a !important;
  white-space: nowrap !important;
}

body#product .hl-trust-pay__inbank .hl-inbank-img {
  height: 15px !important;
  width: auto !important;
}

body#product .hl-trust-pay__inbank .inbank-separator {
  width: 1px !important;
  height: 14px !important;
  background: #d7dbe3 !important;
  color: transparent !important;
  overflow: hidden !important;
}

body#product .hl-trust-pay__secure {
  display: flex !important;
  align-items: center !important;
  gap: .35rem !important;
  margin: .7rem 0 0 !important;
  padding: 0 !important;
  font-size: .75rem !important;
  line-height: 1.3 !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
}

body#product .hl-trust-pay__secure .material-icons {
  font-size: 14px !important;
  width: 14px !important;
  height: 14px !important;
  color: #9aa3af !important;
}

@media (max-width: 767.98px) {
  body#product .hl-trust-card {
    border-radius: 10px !important;
  }
  body#product .hl-trust-card__section {
    padding: .75rem .85rem .8rem !important;
  }
  body#product .hl-trust-primary__item {
    font-size: .86rem !important;
  }
  body#product .hl-trust-pay__link {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: .45rem !important;
  }
  body#product .hl-trust-pay__logos {
    width: 100% !important;
  }
  body#product .hl-trust-pay__logos .hl-pay-strip-img,
  body#product .hl-pay-strip-img {
    max-width: 100% !important;
  }
  body#product .hl-trust-pay__inbank {
    gap: .45rem .65rem !important;
  }
}
