/* Two readable cards across on phones; narrow screens and larger default text
   naturally fall back to the existing single-column layout. */
@media (min-width:22.5em) and (max-width:37.5em){
 #product-grid,.mighty-store #product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
 #product-grid .product-card{min-width:0;display:flex;flex-direction:column;border-radius:12px}
 #product-grid .product-image-link{height:clamp(7.5rem,36vw,10rem);padding:.4rem;min-width:0}
 #product-grid .product-card-content{padding:.65rem;display:flex;flex-direction:column;flex:1;gap:.4rem;min-width:0}
 #product-grid .product-title{font-size:.88rem;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;margin:0}
 #product-grid .product-meta{font-size:.73rem;line-height:1.35;overflow-wrap:anywhere}
 #product-grid .product-price{font-size:1.15rem;line-height:1.35;margin:.1rem 0}
 #product-grid .card-shopping-actions{margin-top:auto;gap:.4rem}
 #product-grid .card-shopping-actions .button{min-height:44px;padding:.55rem .35rem;font-size:.82rem;line-height:1.25;width:100%;white-space:normal}
 #product-grid .view-details{font-size:.78rem;min-height:36px;display:flex;align-items:center;justify-content:center}
 #product-grid .affiliate-badge{top:.35rem;right:.35rem;padding:.25rem .35rem;font-size:.68rem;line-height:1.3;max-width:calc(100% - .7rem)}
 #product-grid .affiliate-disclosure{font-size:.75rem;line-height:1.4}
}
@media(max-width:22.499em){
 #product-grid,.mighty-store #product-grid{grid-template-columns:minmax(0,1fr)}
}
