Cart line

Cart line: a CSS card. Copy the rules, or the prompt that rebuilds it.

productcart-itemhorizontalquantitylight

Oak desk lamp

Warm white, dimmable

1
$85
CSS
.card-024 {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 16px;
  align-items: center;
  width: 460px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  font-family: system-ui,sans-serif;
  color: #222
}
.card-024__img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(135deg,#fde68a,#b45309)
}
.card-024 h3 {
  margin: 0;
  font-size: 15px
}
.card-024 p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #888
}
.card-024__qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden
}
.card-024__qty button {
  width: 28px;
  height: 28px;
  border: 0;
  background: #fafafa;
  cursor: pointer;
  font-size: 14px
}
.card-024__qty button:hover {
  background: #eee
}
.card-024__qty span {
  width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600
}
.card-024 strong {
  font-size: 16px
}
.card-024 :is(a,button,input,select,textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
HTML
<article class="card-024">
  <div class="card-024__img"></div>
  <div class="card-024__info"><h3>Oak desk lamp</h3><p>Warm white, dimmable</p></div>
  <div class="card-024__qty"><button>−</button><span>1</span><button>+</button></div>
  <strong>$85</strong>
</article>
Prompt

Make a 460px cart-row product card: four-column grid (72px image, flexible info, quantity stepper, price), 16px gap, 12px padding, white, 1px #ececec border, 12px radius. Image is a 72px square with 10px radius and a 135deg gradient #fde68a to #b45309. Info: 15px name and 12px #888 variant text. Stepper: a bordered #ddd group of "−", count, "+" (28px buttons on #fafafa, hover #eee). Right a 16px bold price.