/* Row-based alignment; no title truncation, photo crop or data changes. */
body ul.products.la-aligned-cards { row-gap:0!important; }
body ul.products.la-aligned-cards > li.product-card {
 display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--la-card-rows,auto auto auto auto auto auto auto);
 grid-row:span 7;row-gap:0;align-items:start;min-width:0;
 margin:0 0 48px!important;padding:0 0 16px!important;
 border-bottom:1px solid var(--la-line,#d8c8b9);
}
@supports (grid-template-rows:subgrid) {
 body ul.products.la-aligned-cards > li.product-card { grid-template-rows:subgrid; }
}
body .la-aligned-cards .product-card__content,
body .la-aligned-cards .product-card__bottom { display:contents!important; }
body .la-aligned-cards .product-card__media { grid-row:1;align-self:start; }
body .la-aligned-cards .product-card__meta {
 grid-row:2;min-width:0;margin:20px 2px 0!important;align-self:start;
}
body .la-aligned-cards .woocommerce-loop-product__title {
 grid-row:3;min-width:0;margin:8px 2px 0!important;padding:0!important;
 line-height:1.45!important;overflow-wrap:anywhere;align-self:start;
}
body .la-aligned-cards .la-colors--compact {
 grid-row:4;display:flex;flex-wrap:wrap;align-content:start;align-items:center;justify-content:flex-start;
 gap:7px!important;margin:14px 2px 0!important;padding:0!important;align-self:start;
 --la-card-color:clamp(24px,2.4vw,34px);
}
body .la-aligned-cards .la-colors--compact .la-color {
 width:var(--la-card-color)!important;height:var(--la-card-color)!important;min-width:0;flex:0 0 var(--la-card-color)!important;
}
body .la-aligned-cards .la-colors--compact .la-colors__more {
 flex:0 0 100%;width:100%;min-height:22px;margin:0!important;line-height:1.4;white-space:normal;font-size:13px;
}
body .la-aligned-cards .la-shopping-tools {
 grid-row:5;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:8px!important;margin:18px 2px 0!important;align-self:start;
}
body .la-aligned-cards .la-shopping-tools[hidden] { display:none!important; }
body .la-aligned-cards .la-shopping-tools button {
 min-width:0;min-height:44px!important;padding:10px 3px!important;
 font-size:clamp(11px,1vw,14px)!important;line-height:1.2!important;font-weight:500!important;white-space:nowrap;
 border:1px solid var(--la-line,#d8c8b9);background:transparent;color:var(--la-ink,#29221e);
}
body .la-aligned-cards .product-card__bottom > .price {
 grid-row:6;display:block!important;margin:20px 2px 0!important;align-self:start;line-height:1.35!important;
}
body .la-aligned-cards .product-card__bottom > .button {
 grid-row:7;display:flex!important;align-items:center;justify-content:center;
 width:auto!important;min-width:0;min-height:44px!important;margin:12px 2px 0!important;
 padding:10px 8px!important;align-self:start;line-height:1.2!important;font-size:13px!important;
}
@media(max-width:600px) {
 body ul.products.la-aligned-cards > li.product-card { margin-bottom:32px!important;padding-bottom:13px!important; }
 body .la-aligned-cards .product-card__meta { margin-top:16px!important; }
 body .la-aligned-cards .la-shopping-tools { gap:6px!important;margin-top:14px!important; }
 body .la-aligned-cards .la-colors--compact { gap:6px!important; }
}
