/* Scoped catalogue spacing repair; preserves the existing palette and layout. */
main .mp-card { padding: 12px !important; }
main .mp-card .mp-card-body { padding: 16px 16px 14px !important; }
main .mp-card .mp-brand { margin: 0 0 6px !important; }
main .mp-card h3 { min-height: 52px !important; line-height: 26px !important; }
main .mp-card h3 button { direction: ltr; unicode-bidi: isolate; text-align: inherit; width: 100%; }
html[dir="rtl"] main .mp-card h3 button { text-align: right !important; }
html[dir="ltr"] main .mp-card h3 button { text-align: left !important; }
main .mp-card .mp-category { margin: 4px 0 6px !important; }
main .mp-card .mp-card-meta { min-height: 44px !important; }
main .mp-card .mp-card-purchase { margin-top: 8px !important; padding-top: 10px !important; }
main .mp-card .mp-price { flex-wrap: nowrap !important; gap: 5px !important; min-height: 32px !important; line-height: 32px !important; }
main .mp-card .mp-price .mp-from { flex: 0 0 auto !important; width: auto !important; max-width: none !important; margin: 0 !important; }
main .mp-card .mp-sizes { margin: 4px 0 10px !important; line-height: 1.6 !important; }
@media(max-width:600px) {
 main .mp-card { padding: 8px !important; }
 main .mp-card .mp-card-body { padding: 12px 10px !important; }
 main .mp-card h3 { min-height: 48px !important; line-height: 24px !important; }
 main .mp-card .mp-price { font-size: 18px !important; gap: 3px !important; }
}
/* Mobile repairs verified at narrow phone widths. */
@media(max-width:600px) {
 html body main .mp-card .mp-photo { height: 166px !important; padding: 6px !important; }
 html body main .mp-card .mp-card-body { padding: 10px 8px !important; }
 html body main .mp-card .mp-card-body .mp-card-purchase .mp-price { font-size: 18px !important; gap: 3px !important; }
 html body main .mp-card .mp-card-body .mp-sizes { min-height: 0 !important; margin-bottom: 8px !important; }
 html body main .mp-card .mp-card-body .mp-add { min-height: 44px !important; padding: 10px 4px !important; font-size: 11px !important; line-height: 20px !important; gap: 3px !important; white-space: nowrap !important; }
 html body main .mp-card .mp-card-body .mp-add i { display: none !important; }
}
html body .hm-link.hm-finder { color: #673746 !important; background: #f5eee9 !important; }
/* Tighter vertical rhythm requested after phone review. */
html body main .grid:has(> .mp-card) { gap: 14px !important; }
html body main article.mp-card.ms-product-card { padding: 8px !important; }
html body main article.mp-card.ms-product-card .mp-photo { height: 200px !important; padding: 8px !important; }
html body main article.mp-card.ms-product-card .mp-card-body { padding: 10px !important; }
html body main article.mp-card.ms-product-card .mp-brand { margin-bottom: 2px !important; min-height: 0 !important; }
html body main article.mp-card.ms-product-card h3 { min-height: 44px !important; }
html body main article.mp-card.ms-product-card .mp-category { margin: 0 !important; min-height: 0 !important; }
html body main article.mp-card.ms-product-card .mp-card-meta { min-height: 44px !important; }
html body main article.mp-card.ms-product-card .mx-compare-button { box-sizing: border-box !important; padding-block: 4px !important; min-height: 44px !important; height: 44px !important; }
html body main article.mp-card.ms-product-card .mp-card-purchase { margin-top: 4px !important; padding-top: 6px !important; }
html body main article.mp-card.ms-product-card .mp-sizes { margin: 2px 0 6px !important; }
@media(max-width:600px) {
 html body main .grid:has(> .mp-card) { gap: 10px !important; }
 html body main article.mp-card.ms-product-card { padding: 6px !important; }
 html body main article.mp-card.ms-product-card .mp-photo { height: 136px !important; padding: 4px !important; }
 html body main article.mp-card.ms-product-card .mp-card-body { padding: 8px 6px !important; }
}
