/* Stage 48: compact two-column cards on the home page only. */
@media (max-width: 639px) {
  #products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #products-grid .product-card { min-width: 0; padding: 6px; }
  #products-grid .card-body { padding: 12px 6px 8px; }
  #products-grid .card-title { font-size: .95rem; line-height: 1.75; overflow-wrap: anywhere; }
  #products-grid .cat-tag { display: inline-block; max-width: 100%; padding: 3px 7px; overflow-wrap: anywhere; }
  #products-grid .price { font-size: 1rem; overflow-wrap: anywhere; }
  #products-grid .old-price, #products-grid .catalog-option { font-size: .75rem; overflow-wrap: anywhere; }
  #products-grid .stock-note, #products-grid .catalog-rating { font-size: .75rem; line-height: 1.7; overflow-wrap: anywhere; }
  #products-grid .add-btn { height: auto; min-height: 44px; padding: 8px 4px; font-size: .75rem; line-height: 1.6; white-space: normal; }
  #products-grid .product-image > .favorite-form { top: 6px; right: 6px; }
  #products-grid .card-sale-ribbon { top: 6px; left: 6px; box-sizing: border-box; max-width: calc(100% - 60px); padding: 5px 7px; font-size: .7rem; }
}
