/* Keep each continuation aligned with the start of its value. */
@media (min-width:961px) {
    .category-page .product-block.line-view,
    .category-page .product-block.line-view .product-block-content { height:auto; min-height:13.75rem; }
    .category-page .product-block.line-view .product-block-image { height:13.75rem; align-self:center; }
    .category-page .product-block.line-view .product-block-info .product-features li {
        display:grid; grid-template-columns:minmax(0,min(44%,10.3125rem)) minmax(0,1fr);
        align-items:baseline; column-gap:.5rem;
    }
    .category-page .product-block.line-view .product-block-info .product-features li > span {
        width:auto; white-space:normal; overflow-wrap:anywhere;
    }
    .category-page .product-block.line-view .product-features li > b { min-width:0; overflow-wrap:anywhere; }
}
.category-page .product-block.line-view .product-block-info .product-code {
    display:table; width:fit-content; max-width:100%; padding:2px 7px;
    border:1px solid #dfd1be; border-radius:5px; background:#f8f4ed; color:#69543e;
    font-size:.75rem; font-weight:600; line-height:1.35; font-variant-numeric:tabular-nums;
}
.category-page .product-block.line-view .comparison:not(.added) > .comparison-remove,
.category-page .product-block.line-view .comparison.added > .comparison-add { display:none; }
.category-page .product-block.line-view .comparison:not(.added) > .comparison-add,
.category-page .product-block.line-view .comparison.added > .comparison-remove { display:inline-block; }

/* While a responsive template is loading, the server-rendered row still fits. */
@media (max-width:960px) {
    .category-page #mse2_tpl { display:none; }
    .category-page .product-block.line-view { height:auto; min-height:0; }
    .category-page .product-block.line-view .product-block-content {
        position:relative; inset:auto; display:grid; grid-template-columns:minmax(74px,27%) minmax(0,1fr);
        align-items:start; width:100%; height:auto; min-height:0; gap:9px 14px; padding:14px;
    }
    .category-page .product-block.line-view .product-block-image,
    .category-page .product-block.line-view .product-block-info,
    .category-page .product-block.line-view .product-block-footer {
        position:static; width:auto; min-width:0; height:auto; margin:0; padding:0;
    }
    .category-page .product-block.line-view .product-block-image img { max-width:100%; max-height:96px; object-fit:contain; }
    .category-page .product-block.line-view .product-block-info { overflow-wrap:break-word; }
    .category-page .product-block.line-view .product-features { display:none; }
    .category-page .product-block.line-view .product-block-footer { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; }
    .category-page .product-block.line-view .product-btns { display:flex; flex-wrap:wrap; width:auto; height:auto; min-width:0; }
}

.category-page #mse2_results button[name="ms2_action"][value="cart/add"]:enabled:not(.disabled):not([aria-disabled="true"]) {
    cursor:pointer;
}
