/* Compact home product cards: override legacy reserved rows and spacing. */
body.storefront-refined .market-home .product-card .product-card-photos {
  padding: 8px 8px 0;
}
body.storefront-refined .market-home .product-card .product-image {
  height: 210px !important;
  aspect-ratio: auto;
  padding: 6px;
}
body.storefront-refined .market-home .product-card .product-image img {
  padding: 0;
}
body.storefront-refined .market-home .product-card .product-content {
  padding: 12px;
  gap: 6px;
  min-height: 0;
}
body.storefront-refined .market-home .product-card .product-brand {
  min-height: 0;
  margin: 0;
  line-height: 1.25;
  color: #35513d;
}
body.storefront-refined .market-home .product-card .product-content h3 {
  height: 2.7em;
  min-height: 2.7em;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #152f39;
  line-height: 1.35;
}
body.storefront-refined .market-home .product-card .product-params {
  height: auto;
  min-height: 0;
  margin: 0;
  gap: 4px;
}
body.storefront-refined .market-home .product-card .product-status-row {
  min-height: 0;
  margin: 0;
}
body.storefront-refined .market-home .product-card .product-delivery-mini,
body.storefront-refined .market-home .product-card .card-seller-line {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #40515a;
  line-height: 1.4;
  gap: 4px;
}
body.storefront-refined .market-home .product-card .product-card-bottom {
  margin-top: auto !important;
  padding-top: 8px;
  border-top: 1px solid #e1e7e2;
  gap: 6px;
}
body.storefront-refined .market-home .product-card .product-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  grid-template-rows: none;
  gap: 2px;
}
body.storefront-refined .market-home .product-card .product-card-price > strong {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #2f651d !important;
  font-variant-numeric: tabular-nums;
  background: #eef6e8;
  border-radius: 6px;
  padding: 3px 9px;
  line-height: 1.3;
}
body.storefront-refined .market-home .product-card .product-card-price > del,
body.storefront-refined .market-home .product-card .product-card-price > .omnibus-card {
  margin: 0;
  line-height: 1.3;
}
body.storefront-refined .market-home .product-card .product-card-bottom > form,
body.storefront-refined .market-home .product-card .product-card-bottom > .sales-paused-product-mark {
  margin-top: 0;
}
@media (max-width: 767.98px) {
  body.storefront-refined .market-home .product-card .product-image {height: 170px !important;}
  body.storefront-refined .market-home .product-card .product-content {padding: 10px;gap: 5px;}
  body.storefront-refined .market-home .product-card .product-content h3 {font-size: 14px;}
  body.storefront-refined .market-home .product-card .product-delivery-mini,
  body.storefront-refined .market-home .product-card .card-seller-line {font-size: 12px;}
  body.storefront-refined .market-home .product-card .product-card-price > strong {font-size: 21px !important; padding: 3px 6px;}
}
@media (max-width: 399.98px) {
  body.storefront-refined .market-home .product-card .product-image {height: 145px !important;}
  body.storefront-refined .market-home .product-card .product-content {padding: 8px;}
  body.storefront-refined .market-home .product-card .wpro-product-soon {font-size: 11px;padding: 8px 5px;gap: 4px;}
}
