/* Shared rows keep adjacent listing cards and their actions aligned. */
.product-grid{align-items:stretch;gap:22px 16px}
.product-card{display:flex;flex-direction:column;padding:10px;border:1px solid var(--line);border-radius:7px;background:#fffdf8}
.product-card .product-image{height:155px;flex-shrink:0}
.product-card .product-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:5px;font-size:10px;letter-spacing:.15px;line-height:1.4;min-height:28px;margin:9px 0 4px}
.product-meta>span:last-child{white-space:nowrap}
.product-card h3{font-size:13px;line-height:1.4;min-height:37px;margin:0 0 6px}
.product-card .product-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:52px}
.product-price strong{font-size:19px;line-height:1.2}
.product-card .product-price span{font-size:12px;line-height:1.35}
.product-card .catalog-seller{font-size:12px;line-height:1.35;min-height:33px;margin:4px 0}
.product-card .product-options{font-size:12px;line-height:1.35;min-height:33px;margin:0 0 8px}
.product-card .card-action{margin-top:auto;font-size:13px;min-height:44px;padding:9px 10px;gap:4px}
.product-card .badge{font-size:10px;line-height:1.3;letter-spacing:.1px;padding:5px 6px;top:8px;left:8px}
.product-card .countdown{left:7px;right:7px;bottom:7px;font-size:11px;line-height:1.35;padding:5px 6px;min-height:40px;display:flex;align-items:center}
.product-card .save{right:7px;top:7px}
@media(max-width:760px){
  .product-grid{gap:14px 10px}
  .product-card{padding:8px}
  .product-card .product-image{height:125px}
  .product-card .product-meta{grid-template-columns:1fr;gap:1px;min-height:30px;font-size:9px;margin-top:7px}
  .product-card h3{font-size:12px;min-height:34px;margin-bottom:5px}
  .product-card .product-price{min-height:50px}
  .product-card .product-price strong{font-size:18px}
  .product-card .product-price span,.product-card .catalog-seller,.product-card .product-options{font-size:11px}
  .product-card .catalog-seller,.product-card .product-options{min-height:30px}
  .product-card .card-action{font-size:12px;padding:8px 6px}
  .product-card .badge{font-size:9px;max-width:calc(100% - 40px);top:6px;left:6px}
  .product-card .save{width:26px;height:26px;font-size:17px;top:6px;right:6px}
  .product-card .countdown{font-size:10px;min-height:36px;left:5px;right:5px;bottom:5px;padding:4px 5px}
}
/* Size text rows to their content; share those rows across each pair of cards. */
.product-grid{row-gap:0}
.product-card{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0;margin-bottom:14px}
.product-card .product-meta{min-height:0;margin:7px 0 4px}
.product-card h3{min-height:0;margin:0 0 5px}
.product-card .product-price{min-height:0;margin:0 0 3px;gap:2px}
.product-card .catalog-seller{min-height:0;margin:0 0 4px}
.product-card .product-options{min-height:0;margin:0 0 7px}
.product-card .card-action{margin-top:0;align-self:end}
.product-card .save{display:grid;place-items:center;padding:0;border:1px solid #203f3526;background:#fffdf8;color:var(--green);font-size:19px;line-height:1}
.product-card .save.on{background:var(--green);color:white;border-color:var(--green)}
.product-card .save:focus-visible{outline-offset:2px}
@media(max-width:760px){.product-card .save{font-size:18px}}
