/* Product previews: square flatlay and content-sized rows, without a reserved brand line. */
.grid:has(>.card){align-items:start}
.grid>.card{align-self:start}
.grid>.card section{display:grid;grid-template-rows:auto auto auto;align-content:start;padding:6px;gap:4px;flex:0}
.grid>.card h2.brand169{font-size:11px;line-height:1.2;min-height:0;height:auto;max-height:2.4em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;margin:0}
.grid>.card .card-meta170{display:flex;justify-content:space-between;align-items:baseline;gap:3px 6px;flex-wrap:wrap;min-width:0}
.grid>.card .size169{font-size:11px;line-height:1.2;margin:0;white-space:nowrap}
.grid>.card .price{font-size:13px;line-height:1.3;white-space:nowrap}
.grid>.card .card-actions{display:block;margin:0}
.grid>.card .details-button{display:block;width:100%;padding:5px 4px;min-height:28px;font-size:10px;line-height:1.3}
.grid>.card .product-image{position:relative;aspect-ratio:1/1;overflow:hidden}
.grid>.card .product-image>img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;display:block}
.grid>.card .product-image>.placeholder{height:100%;aspect-ratio:1/1;font-size:11px;padding:8px;text-align:center}
.grid>.card .stock169{position:absolute;bottom:3px;right:3px;font-size:8px;background:#fff5e8ed;color:#56382d;padding:2px 4px;border-radius:4px}
.grid>.card .stock169.early{background:#ceff4d;color:#1d3100}.grid>.card .ai-tag{bottom:auto;top:3px;left:3px}
body[aria-busy=true] #page{cursor:progress}nav button.pending169{background:#f6e4d5}
@media(min-width:768px){.grid>.card h2.brand169{font-size:13px}.grid>.card .size169{font-size:12px}.grid>.card .price{font-size:16px}.grid>.card .details-button{font-size:12px}}
