.product-insights {
  display: grid;
  gap: 13px;
  margin: 18px 0 23px;
  padding: clamp(14px, 2.8vw, 24px);
  border: 1px solid #cae5d0;
  border-radius: 17px;
  color: var(--ink);
  background: #f5fcf6;
}

.product-insights-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 9px 16px;
}

.product-insights-head h3 {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.product-insights-head p,
.product-basis,
.product-price-note {
  font-size: .875rem;
  color: var(--muted);
}

.product-insights-head p {
  margin-top: 3px;
}

.product-insights-head label {
  width: min(185px, 100%);
  font-weight: 650;
  color: var(--ink);
}

.product-insights-head select {
  margin-top: 3px;
}

.product-receipt-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.product-receipt-line .product-thumb {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  background: #eff8f0;
  object-fit: contain;
}

.product-receipt-line p {
  font-size: .875rem;
  color: var(--muted);
}

.product-receipt-line strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.product-metrics > div {
  min-width: 0;
  padding: 8px 11px;
  border-radius: 9px;
  background: #eaf6ed;
}

.product-metrics dt {
  font-size: .875rem;
  font-weight: 650;
  color: var(--muted);
}

.product-metrics dd {
  margin: 0;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-metrics #insight-loss {
  margin-top: 4px;
  color: #15583b;
  font-size: .8125rem;
  line-height: 1.24;
}

.product-insight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-insight-actions .button {
  min-height: 44px;
  min-width: 0;
  padding: 7px 10px;
  font-size: .875rem;
}

.product-insight-actions .secondary {
  border-color: #cce5d2;
  background: white;
  color: var(--green);
}

@media (max-width: 480px) {
  .product-insights { padding: 11px; gap: 9px; }
  .product-insights-head label { width: 100%; }
  .product-metrics > div { padding: 7px; }
  .product-insight-actions .button { flex: 1 1 85px; }
}
