/* Shared footer: keep the detail-link row even when a freebie has no second link. */
.product-card>.cf-card-actions{display:grid;grid-template-rows:minmax(44px,auto) minmax(19px,auto);gap:8px;flex-shrink:0;margin:14px 14px 15px;font-size:12px}
.product-card>.cf-card-actions>.cf-card-cart,.product-card>.cf-card-actions>.cf-freebie-card-cta,.product-card>.cf-card-actions>.cf-card-details{margin:0}
.product-card>.cf-card-actions>.cf-card-details{grid-row:2;align-self:start;justify-self:start;max-width:none;text-align:left;white-space:normal}
.product-card>.cf-card-actions .button{width:100%;height:100%;min-height:44px;padding:4px 8px;font-size:12px;line-height:1.4;white-space:normal}
.cf-empty-cart-grid>.product-card>.cf-card-actions{margin:0 12px 16px;gap:10px}
@media(max-width:600px){
 /* On narrow cards the detail link may wrap onto two lines. */
 .product-card>.cf-card-actions{margin-inline:9px;grid-template-rows:minmax(44px,auto) minmax(2.6em,auto)}
 .product-card>.cf-card-actions .button{font-size:11px}
 .cf-empty-cart-grid>.product-card>.cf-card-actions{margin-inline:10px}
}
