/* SOLO PRUEBAS 08NOV2026 — logos consistentes, sin cambiar datos. */
/* Logos grandes en fichas de promociones originales. */
html body:not(.mr-admin-page) main.page section.offer-head > .brand > img.logo {
 width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;
 flex:0 0 58px!important;object-fit:contain!important;box-sizing:border-box!important;padding:3px!important;
}
html body:not(.mr-admin-page) main.page section.offer-head > .brand {display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:10px!important;}
/* Nuevas publicaciones (Tulotero, Mycashback...) */
html body:not(.mr-admin-page) main #box .offer-head .promohead {display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:10px!important;}
html body:not(.mr-admin-page) main #box .offer-head .promohead > img {
 width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;
 flex:0 0 58px!important;object-fit:contain!important;box-sizing:border-box!important;padding:3px!important;
}
html body:not(.mr-admin-page) main #box .offer-head .promohead > div:last-child {min-width:0!important;flex:1 1 auto!important;}
/* Comparativas rápidas: mejor visibilidad de marcas. */
html body:not(.mr-admin-page) main.category-page .mr-comparison .mr-compare-brand > img.mr-compare-logo,
html body:not(.mr-admin-page) main.category-page .mr-compare td .mr-compare-brand > img.mr-compare-logo {
 display:block!important;width:40px!important;height:40px!important;min-width:40px!important;
 flex:0 0 40px!important;object-fit:contain!important;box-sizing:border-box!important;padding:2px!important;
}
/* Más promociones: eliminar las miniaturas forzadas y las tarjetas angostas. */
html body:not(.mr-admin-page) main.page section.panel.related-promos .related-cards,
html body:not(.mr-admin-page) main #box section.panel.related-promos .related-cards {
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 width:100%!important;max-width:none!important;gap:12px!important;align-items:stretch!important;
}
html body:not(.mr-admin-page) main.page section.panel.related-promos .related-cards > a.related-card,
html body:not(.mr-admin-page) main #box section.panel.related-promos .related-cards > a.related-card {
 box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;
 min-width:0!important;max-width:none!important;width:100%!important;
 height:auto!important;max-height:none!important;min-height:92px!important;
 padding:12px!important;gap:10px!important;overflow:visible!important;
}
html body:not(.mr-admin-page) main.page section.panel.related-promos .related-cards > a.related-card > img.related-card-logo,
html body:not(.mr-admin-page) main #box section.panel.related-promos .related-cards > a.related-card > img.related-card-logo {
 display:block!important;width:42px!important;height:42px!important;min-width:42px!important;
 max-width:42px!important;flex:0 0 42px!important;object-fit:contain!important;box-sizing:border-box!important;padding:2px!important;
}
html body:not(.mr-admin-page) main.page section.panel.related-promos .related-cards > a.related-card > span,
html body:not(.mr-admin-page) main #box section.panel.related-promos .related-cards > a.related-card > span {
 display:flex!important;flex-direction:column!important;gap:3px!important;flex:1 1 auto!important;
 min-width:0!important;max-height:none!important;overflow:visible!important;
}
html body:not(.mr-admin-page) main.page section.panel.related-promos .related-card strong,
html body:not(.mr-admin-page) main.page section.panel.related-promos .related-card small,
html body:not(.mr-admin-page) main #box section.panel.related-promos .related-card strong,
html body:not(.mr-admin-page) main #box section.panel.related-promos .related-card small {
 display:block!important;font-size:13px!important;line-height:1.4!important;max-height:none!important;
 overflow:visible!important;overflow-wrap:break-word!important;word-break:normal!important;-webkit-line-clamp:unset!important;
}
@media(max-width:920px){
 html body:not(.mr-admin-page) main.page section.panel.related-promos .related-cards,
 html body:not(.mr-admin-page) main #box section.panel.related-promos .related-cards {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:620px){
 html body:not(.mr-admin-page) main.page section.offer-head > .brand > img.logo,
 html body:not(.mr-admin-page) main #box .offer-head .promohead > img {
  width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;flex:0 0 52px!important;
 }
 html body:not(.mr-admin-page) main.category-page .mr-comparison .mr-compare-brand > img.mr-compare-logo,
 html body:not(.mr-admin-page) main.category-page .mr-compare td .mr-compare-brand > img.mr-compare-logo {
  width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;
 }
 html body:not(.mr-admin-page) main.page section.panel.related-promos .related-cards,
 html body:not(.mr-admin-page) main #box section.panel.related-promos .related-cards {
  grid-template-columns:minmax(0,1fr)!important;max-width:420px!important;
 }
 html body:not(.mr-admin-page) main.page section.panel.related-promos .related-cards > a.related-card,
 html body:not(.mr-admin-page) main #box section.panel.related-promos .related-cards > a.related-card {
  min-height:78px!important;padding:10px 12px!important;
 }
 html body:not(.mr-admin-page) main.page section.panel.related-promos .related-cards > a.related-card > img.related-card-logo,
 html body:not(.mr-admin-page) main #box section.panel.related-promos .related-cards > a.related-card > img.related-card-logo {
  width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;flex:0 0 38px!important;
 }
}
