/* Only the main Soi link result uses this layout. */
.hb-result-compact .hb-product-top {
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(8px, 2cqi, 20px);
}
.hb-result-compact .hb-main-copy { align-self: stretch; }
.hb-result-compact .hb-main-visual {
  align-self: stretch;
  aspect-ratio: auto;
  min-height: 100%;
}
.hb-result-compact .hb-product-image img { object-fit: cover; }
.hb-result-compact .hb-product-meta { justify-content: space-between; flex-wrap: nowrap; }
.hb-sold-badge {
  position: absolute;
  inset: auto auto 7px 50%;
  translate: -50%;
  max-width: calc(100% - 8px);
  width: max-content;
  padding: 2px 9px;
  border-radius: 999px;
  background: #211d29c9;
  color: #fff;
  font-size: clamp(9px, 2.5cqi, 15px);
  font-weight: 650;
  text-align: center;
}
.hb-result-price {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin-top: clamp(7px, 2cqi, 16px);
  padding: clamp(6px, 1.6cqi, 14px) clamp(6px, 1.7cqi, 16px);
  border-radius: 10px;
  background: #fceefa;
  color: var(--hb-ink, #21162e);
  font-size: clamp(10px, 3cqi, 20px);
  font-weight: 650;
}
.hb-result-compact .hb-result-price .hb-main-price {
  font-size: clamp(16px, 5cqi, 36px);
  text-align: end;
}
.hb-result-price-amount { min-width: 0; }
.hb-price-discount {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #756782;
  font-size: .8em;
}
.hb-result-compact .hb-result-payout {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  gap: clamp(4px, 1.2cqi, 12px);
  margin: clamp(6px, 1.8cqi, 14px) 0 0;
  padding: clamp(5px, 1.6cqi, 13px);
  border: 1px solid #eedfce;
  border-radius: 11px;
  background: #fffbf2;
}
.hb-result-payout > div + div {
  padding-inline-start: clamp(4px, 1.2cqi, 12px);
  border-inline-start: 1px solid #ebc9a5;
}
.hb-commission-label { white-space: nowrap; }
.hb-result-payout dt {
  display: flex;
  align-items: center;
  gap: clamp(2px, .7cqi, 6px);
  min-height: 2.3em;
  color: #281d36;
  font-size: clamp(9px, 2.5cqi, 16px);
  font-weight: 750;
  line-height: 1.2;
}
.hb-result-payout dd {
  margin: 2px 0 0;
  color: #e00090;
  font-size: clamp(11px, 3.6cqi, 27px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.hb-result-payout > div + div dd { color: #a94706; }
.hb-result-payout dd small {
  display: block;
  margin-top: 2px;
  color: #6a5369;
  font-size: clamp(8px, 2cqi, 12px);
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: normal;
}
.hb-result-payout .hb-payout-percent,
.hb-result-payout .hb-coin {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(12px, 3.5cqi, 25px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  color: #fff;
  background: #d80086;
}
.hb-result-payout .hb-coin { background: #e77c00; }
.hb-page .hb-result-payout .hb-coin .hb-icon { width: 90%; height: 90%; }
@media (max-width: 380px) {
  .hb-result-compact .hb-product-top { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
  .hb-result-payout .hb-payout-percent { display: none; }
}
