/* Catalog-only proportions. Full condition, replacements and inclusions stay on the product page. */
.shop-product-grid.shop-compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.shop-compact-grid .shop-card {
  min-width: 0;
  height: auto;
  overflow: hidden;
  box-shadow: none;
}
.shop-compact-grid .shop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #00000014;
}
.shop-compact-grid .shop-card-link { display: block; height: auto; }
.shop-compact-grid .shop-card-image {
  aspect-ratio: 1;
  height: auto;
  min-height: 0;
  max-height: none;
  flex: none;
}
.shop-compact-grid .shop-card-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-compact-grid .shop-photo-placeholder { position: absolute; inset: 0; }
.shop-compact-grid .shop-card-body {
  display: grid;
  grid-template-rows: 16px 38px 18px 28px 18px 36px;
  gap: 4px;
  padding: 12px;
  min-width: 0;
}
.shop-compact-grid .shop-card-meta { display: block; margin: 0; line-height: 16px; }
.shop-compact-grid .shop-card-meta > span {
  display: block;
  width: max-content;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: #555;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.shop-compact-grid .shop-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  font-size: 16px;
  line-height: 19px;
  font-weight: 700;
}
.shop-compact-grid .shop-card-variant {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.shop-compact-grid .shop-card-body > strong {
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 28px;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.shop-compact-grid .shop-card-body > .shop-card-battery {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: #444;
}
.shop-compact-grid .shop-card-battery b { color: #111; }
.shop-compact-grid .shop-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 0;
  padding: 5px 0 0;
  min-height: 0;
  border-top: 1px solid #deded9;
  font-size: 12px;
}
.shop-compact-grid .shop-card-cta i { width: auto; height: auto; background: none; color: #111; font-size: 18px; }
.shop-compact-grid .shop-card-condition { max-width: calc(100% - 16px); }
.shop-compact-grid .shop-card-link:focus-visible { outline-offset: -3px; }
@media (max-width:1199px) {
  .shop-product-grid.shop-compact-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width:851px) and (max-width:1020px) {
  .shop-product-grid.shop-compact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:640px) {
  .shop-product-grid.shop-compact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .shop-compact-grid .shop-card-body { padding: 10px; }
  .shop-compact-grid .shop-card h3 { font-size: 14px; }
  .shop-compact-grid .shop-card-variant { font-size: 11px !important; }
  .shop-compact-grid .shop-card-body > .shop-card-battery { font-size: 11px; }
  .shop-compact-grid .shop-card:hover { transform: none; box-shadow: none; }
}
