/* Listing-only compact top-right badge. No product photo sizing or alignment changes. */
html body :is(.product-grid-item,li.product).ts-sd-catalog .tsco-card,
html body :is(.product-grid-item,li.product).ts-sd-catalog .product-wrapper {position:relative;}
html body :is(.product-grid-item,li.product).ts-sd-catalog .ts-sd-media-host {
 position:relative!important;
 box-sizing:border-box!important;
 padding-bottom:0!important;
}
/* Cancel only the old badge strip; retain the native hover-image layout. */
html body :is(.product-grid-item,li.product).ts-sd-catalog .product-element-top.ts-sd-media-host>.hover-img {
 height:100%!important;
 bottom:0!important;
}
html body :is(.product-grid-item,li.product).ts-sd-catalog .ts-sd-list-badge {
 position:absolute!important;
 inset:2px 2px auto auto!important;
 top:2px!important;right:2px!important;bottom:auto!important;left:auto!important;
 display:inline-flex!important;
 box-sizing:border-box!important;
 align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;
 gap:3px!important;
 width:max-content!important;max-width:calc(100% - 4px)!important;
 height:18px!important;min-height:0!important;
 padding:2px 4px!important;margin:0!important;
 border:1px solid #e8eaed!important;border-radius:9px!important;
 background:rgba(255,255,255,.96)!important;color:#4b5057!important;
 font-family:inherit;font-size:9px!important;font-weight:600!important;line-height:12px!important;
 text-align:left!important;white-space:nowrap!important;
 box-shadow:none!important;overflow:hidden;z-index:3;pointer-events:none;
}
html body :is(.product-grid-item,li.product).ts-sd-catalog .ts-sd-list-badge .ts-sd-list-icon {
 display:block!important;flex:0 0 10px!important;width:10px!important;height:10px!important;
 background:currentColor;
 -webkit-mask:url('/wp-content/uploads/2025/01/mcp-delivery-car.svg') center/contain no-repeat;
 mask:url('/wp-content/uploads/2025/01/mcp-delivery-car.svg') center/contain no-repeat;
}
html body :is(.product-grid-item,li.product).ts-sd-catalog .ts-sd-list-badge .ts-sd-list-text {
 display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html body :is(.product-grid-item,li.product).ts-sd-catalog .ts-sd-list-badge small{display:none!important;}
