/* Apple-store-style horizontal card: square thumbnail on the left,
   content (title, brand, per-chain price list) on the right. */
.card {
  position: relative; cursor: pointer;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 14px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: stretch;
  transition: transform .14s ease, box-shadow .14s ease;
  box-shadow: 0 0 0 1px var(--border);
  border: 0;
  text-align: left;
  width: 100%;
}
.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--border), 0 10px 30px rgba(0, 0, 0, .08);
}
.card:active { transform: translateY(0); }

.card .img {
  width: 112px; height: 112px;
  align-self: start;
  background: radial-gradient(circle at 50% 45%, oklch(0.96 0.005 85) 0, oklch(0.93 0.006 85) 72%);
  border-radius: var(--r-sm);
  position: relative; overflow: hidden;
}
.card .img::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0, 0, 0, .015) 6px 7px);
}
.card .img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  pointer-events: none;
}

.card .body {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.card .head { display: flex; flex-direction: column; gap: 2px; }
.card .name {
  font-size: 14px; line-height: 1.3; color: var(--ink); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .brand {
  font-size: 11.5px; color: var(--ink-3); letter-spacing: .01em;
  text-transform: uppercase;
}

.card .prices {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px;
  font-variant-numeric: tabular-nums;
}
.card .prices--empty { color: var(--ink-3); font-size: 12px; }
.card .price-row {
  font-size: 12.5px;
  min-width: 0;
}
.card .price-link {
  display: flex; align-items: center; gap: 8px;
  padding: 2px 0;
  text-decoration: none;
  color: inherit;
}
.card .price-link:hover .amt { text-decoration: underline; }
.card .price-row .ch-icon {
  width: 16px; height: 16px; flex-shrink: 0;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
}
.card .price-row .amt {
  color: var(--ink); font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 1px 6px;
  border-radius: 6px;
}
.card .price-row--promo .amt { color: oklch(0.55 0.16 25); }
.card .price-row--lowest .amt {
  background: oklch(0.94 0.12 95);
  color: oklch(0.32 0.12 75);
}
