.ms-compare-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: auto 0 0;
  padding: 5px 0 0;
  list-style: none;
}

.ms-compare-offer {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 4px;
  min-width: 0;
  padding: clamp(4px, .7vw, 9px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f8fb;
}

.ms-compare-seller {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: .15em;
  font-size: .79rem;
  font-weight: 720;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ms-compare-price {
  color: var(--ink);
  font-size: clamp(.8rem, 1.45vw, 1rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.23;
}

.ms-compare-stock {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.3;
}

.ms-product-copy .ms-compare-link {
  justify-self: stretch;
  align-self: stretch;
  justify-content: center;
  min-height: 44px;
  margin-block: 0;
  padding-inline: 3px;
  font-size: .77rem;
  text-align: center;
}

@supports (grid-template-rows: subgrid) {
  .ms-compare-offer {
    grid-row: span 4;
    grid-template-rows: subgrid;
  }
}

.ms-detail-comparison .ms-compare-offers {
  gap: 12px;
  max-width: 720px;
}

.ms-detail-comparison .ms-compare-offer {
  gap: 5px;
  padding: clamp(8px, 2vw, 16px);
}

.ms-detail-comparison .ms-compare-seller {
  text-decoration: none;
  font-size: clamp(.85rem, 1.8vw, 1.05rem);
}

.ms-detail-comparison .ms-compare-link {
  justify-self: start;
  margin-block-start: 4px;
}

@media (max-width: 470px) {
  .ms-product-card--comparison {
    grid-column: 1 / -1;
  }
}
