/* V248: normalizacion optica de logos en directorio y ficha de tienda.
   No cambia el archivo original, el orden, los filtros o los enlaces. */
.ch232-brandmark {height:84px;min-height:84px;overflow:hidden}
.ch232-brandmark .ch236-logo-wrap {
  box-sizing:border-box;width:min(100%,165px);height:72px !important;
  max-width:100% !important;max-height:72px !important;
  display:flex !important;align-items:center;justify-content:center;
  margin-inline:auto;overflow:hidden;
}
.ch232-brandmark .ch236-logo-image {
  display:block !important;box-sizing:border-box;
  width:100% !important;height:100% !important;
  max-width:100% !important;max-height:100% !important;
  object-fit:contain !important;object-position:center !important;
  flex:0 1 auto;
}
/* Logotipos cuadrados: mismo alto optico sin ocupar todo el ancho. */
.ch232-brandmark .ch236-logo-wrap:is(.ch236-logo--lidl,.ch236-logo--carrefour,.ch236-logo--miravia,.ch236-logo--aliexpress,.ch236-logo--amazon){max-width:130px !important}
.ch232-brandmark .ch236-logo-wrap:is(.ch236-logo--lidl,.ch236-logo--carrefour){width:76px;height:72px !important}
/* Destacados: no amplificamos los logos respecto al resto. */
.ch237-featured .ch232-brandmark {height:84px;min-height:84px}
.ch237-featured .ch236-logo-wrap {height:72px !important;max-height:72px !important}
.ch237-featured .ch236-logo-image {max-height:100% !important}
/* Horizontal muy largo: aumenta anchura disponible, no la altura. */
.ch232-brandmark .ch236-logo-wrap:is(.ch236-logo--mediamarkt,.ch236-logo--el_corte_ingles,.ch236-logo--pccomponentes,.ch236-logo--hunkemoller,.ch236-logo--intimissimi,.ch236-logo--happyfriday,.ch236-logo--atmosfera_sport){width:min(100%,174px);max-width:174px !important}
/* Respeta el fondo contrastado de logos blancos. */
.ch232-brandmark .ch236-logo-wrap:is(.ch236-logo--sprinter,.ch236-logo--skyshowtime,.ch236-logo--flex,.ch236-logo--dogfy_diet,.ch236-logo--shein,.ch236-logo--rowenta){padding:9px;box-sizing:border-box}
/* El encabezado interior de la tienda usa una escala equivalente pero mayor. */
.ch232-shop-logo .ch236-logo-wrap {width:calc(100% - 12px);height:calc(100% - 12px);max-width:100%;max-height:100%;box-sizing:border-box}
.ch232-shop-logo .ch236-logo-image {width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;object-fit:contain !important}
@media(max-width:560px){
  .ch232-brandmark,.ch237-featured .ch232-brandmark{height:70px;min-height:70px}
  .ch232-brandmark .ch236-logo-wrap,.ch237-featured .ch236-logo-wrap{width:min(100%,132px);height:60px !important;max-height:60px !important}
  .ch232-brandmark .ch236-logo-wrap:is(.ch236-logo--lidl,.ch236-logo--carrefour){width:62px;height:60px !important}
  .ch232-brandmark .ch236-logo-wrap:is(.ch236-logo--mediamarkt,.ch236-logo--el_corte_ingles,.ch236-logo--pccomponentes,.ch236-logo--hunkemoller,.ch236-logo--intimissimi,.ch236-logo--happyfriday,.ch236-logo--atmosfera_sport){width:min(100%,140px)}
}
