/* Product count changes layout; the existing theme and type styles stay in place. */
.catalog-page .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.catalog-page .product-card-image{height:230px;max-height:230px;aspect-ratio:auto;min-width:0}
.catalog-page .product-card-image img{width:100%;height:100%;object-fit:contain;padding:16px}
.catalog-page .product-card-body{padding:22px}
.catalog-page .catalog-card-facts{padding:12px 14px;margin:0 0 18px;border:1px solid var(--line);border-radius:9px;background:var(--paper-2);min-width:0}
.catalog-page .catalog-card-facts .catalog-deposit{margin:0 0 5px}
.catalog-page .catalog-card-facts .catalog-eta{margin:0}
.catalog-card-placeholder{padding:20px;text-align:center;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.card-state-panel{margin:14px 0;padding:13px 14px;border:1px solid #d5d8d4;border-radius:9px;background:#f0f1ed;color:#3c463a}
.card-state-panel>strong{display:block;font-size:18px;font-weight:700;line-height:1.5}
.card-state-panel>p{font-size:14px;line-height:1.75;margin:6px 0 0}
.card-state-upcoming{background:#edf2f8;border-color:#cbd8e7;color:#304d70}
.card-state-paused{background:#faf1df;border-color:#e3d2af;color:#79501d}

.catalog-page .catalog-grid.catalog-single{grid-template-columns:minmax(0,1fr)}
.catalog-page .catalog-single .product-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);width:100%;max-width:980px;margin-inline:auto;align-items:center}
.catalog-page .catalog-single .product-card-image{height:auto;min-height:260px;max-height:none;align-self:stretch;border-right:1px solid var(--line)}
.catalog-page .catalog-single .product-card-image img{height:280px;max-height:280px;padding:20px}
.catalog-page .catalog-single .product-card-body{padding:26px}

@media(max-width:700px){
  .catalog-page .catalog-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .catalog-page .catalog-single .product-card{display:flex;flex-direction:column;max-width:none}
  .catalog-page .product-card-image,.catalog-page .catalog-single .product-card-image{height:200px;min-height:0;max-height:200px;width:100%;align-self:auto;border-right:0}
  .catalog-page .catalog-single .product-card-image img{height:100%;max-height:200px;padding:16px}
  .catalog-page .product-card-body,.catalog-page .catalog-single .product-card-body{width:100%;padding:18px}
}
