.m24-compatible-products,.medsale24-related-block{clear:both;margin:36px 0}
.m24-compatible-products h2,.medsale24-related-block h2{margin:0 0 20px}
.m24-compatible-products ul.m24-compatible-grid,.medsale24-related-grid,.m24-compatible-dialog-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;list-style:none!important;padding:0!important;margin:0!important;width:100%!important}
.m24-compatible-grid:before,.m24-compatible-grid:after{display:none!important}
.m24-compatible-products .m24-compatible-grid>li.product-card,.medsale24-related-grid>.medsale24-related-item,.m24-compatible-dialog-grid>li.product-card{box-sizing:border-box;float:none!important;width:auto!important;max-width:none!important;min-width:0;margin:0!important;padding:12px;border:1px solid #e2e7e9;border-radius:8px;background:#fff;display:flex;flex-direction:column;gap:0}
.m24-compatible-item .thumb,.medsale24-related-item>a:first-child{display:flex;align-items:center;justify-content:center;height:150px;margin:0 0 12px}
.m24-compatible-item img,.medsale24-related-item img{width:100%;height:150px;object-fit:contain;margin:0}
.m24-compatible-item h3,.m24-compatible-all-card h3,.medsale24-related-item-title{font-size:14px;line-height:1.45;font-weight:600;margin:0 0 8px;color:#3f4548}
.m24-compatible-meta{display:flex;flex-direction:column;gap:4px;margin:0 0 8px}
.m24-compatible-meta,.medsale24-related-item .meta{font-size:12px;line-height:1.45;color:#707b80;overflow-wrap:anywhere}
.m24-compatible-item .price,.medsale24-related-item .price{margin-top:auto;padding-top:12px}
.m24-compatible-products .m24-compatible-all-card{background:#f4f9fb;justify-content:center;text-align:center;align-items:center}
.m24-compatible-all-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:20px;border-radius:50%;background:#e1eef3;color:#24708e;font-size:28px}
.m24-compatible-all-card p{font-size:13px;line-height:1.5;color:#707b80;margin:4px 0 20px}
.m24-compatible-toggle{cursor:pointer;white-space:normal;width:100%;font-size:13px;line-height:1.4;padding:10px 8px}
.m24-compatible-products.m24-js .m24-compatible-extra{display:none!important}
.m24-compatible-dialog{box-sizing:border-box;width:min(1120px,calc(100% - 32px));max-height:85vh;padding:24px;border:1px solid #e2e7e9;border-radius:12px;color:#3f4548;background:white}
.m24-compatible-dialog::backdrop{background:rgba(20,38,48,.5)}
.m24-compatible-dialog-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:24px}
.m24-compatible-dialog-heading h2{font-size:22px;margin:0}
.m24-compatible-dialog-close{cursor:pointer;font:inherit;padding:8px 12px;background:#f4f9fb;border:1px solid #e2e7e9;border-radius:6px}
@media(max-width:1000px){.m24-compatible-products ul.m24-compatible-grid,.medsale24-related-grid,.m24-compatible-dialog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.m24-compatible-products ul.m24-compatible-grid,.medsale24-related-grid,.m24-compatible-dialog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:380px){.m24-compatible-products ul.m24-compatible-grid,.medsale24-related-grid,.m24-compatible-dialog-grid{grid-template-columns:minmax(0,1fr)!important}}
