/* Galaxia HORECA · edición visual P1: fotografías protagonistas, sin recortes ni placeholders */
#categorias .gx-cat-pro .gx-category-photo{
  background:linear-gradient(145deg,#ffffff 0%,#f6f9fa 100%)!important;
  overflow:hidden!important;
  isolation:isolate;
}
#categorias .gx-cat-pro .gx-category-photo::before,
#categorias .gx-cat-pro .gx-category-photo::after{display:none!important}
#categorias .gx-cat-pro:nth-child(3n+2) .gx-category-photo,
#categorias .gx-cat-pro:nth-child(3n+3) .gx-category-photo{
  background:linear-gradient(145deg,#ffffff,#f6f9fa)!important
}
#categorias .gx-cat-pro .gx-category-photo img.gx-cat-primary{
  position:absolute!important;
  left:7%!important;right:auto!important;top:2%!important;bottom:auto!important;
  display:block!important;width:86%!important;height:94%!important;
  max-height:none!important;max-width:none!important;padding:9px!important;
  box-sizing:border-box!important;
  object-fit:contain!important;object-position:center center!important;
  mix-blend-mode:multiply!important;filter:none!important;
  transform:none!important;
  transition:transform .25s ease!important;
}
#categorias .gx-cat-pro .gx-category-photo img.gx-cat-secondary{display:none!important}
#categorias .gx-cat-pro:hover .gx-category-photo img.gx-cat-primary{
  transform:scale(1.025)!important;filter:none!important
}
#categorias .gx-cat-pro{overflow:hidden!important}
#categorias .gx-cat-pro .gx-category-bottom{
  background:#fff!important;z-index:5!important
}
/* Familias en landings de negocio: fondo continuo, imagen completa, aire editorial */
.gx-niche-families .gx-niche-family{
  background:#fff!important;overflow:hidden!important;
  min-width:0!important;min-height:265px!important;padding:16px!important;
  border:1px solid #dce6e8!important;border-radius:15px!important;
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.gx-niche-families .gx-niche-family img{
  display:block!important;flex:none!important;align-self:center!important;
  width:100%!important;height:167px!important;max-width:100%!important;
  padding:8px 10px 11px!important;margin:2px auto 12px!important;
  box-sizing:border-box!important;
  object-fit:contain!important;object-position:center center!important;
  background:#fff!important;mix-blend-mode:multiply!important;
  border-radius:10px!important;transform:none!important;filter:none!important;
}
.gx-niche-families .gx-niche-family:hover{
  border-color:#ef9eae!important;box-shadow:0 10px 22px rgba(28,50,58,.07)!important;
  transform:translateY(-2px)
}
.gx-niche-families .gx-niche-family span{margin-top:auto!important;min-width:0!important}
.gx-niche-families .gx-niche-family strong{max-width:100%;overflow-wrap:break-word}
.gx-niche-families .gx-niche-family>b{z-index:3}
.gx-niche-scene .gx-niche-scene-photo{
  width:100%!important;height:100%!important;max-width:100%!important;
  object-fit:contain!important;object-position:center!important;
  border-radius:14px!important;
}
/* Héroes con fotografía editorial: mantener una composición legible en cada tamaño */
.gx-niche-hero .gx-niche-decor{overflow:hidden}
.gx-archive-banner:before{background-repeat:no-repeat;background-position:center center}
@media(max-width:860px){
 .gx-niche-families .gx-niche-family{min-height:248px!important}
 .gx-niche-families .gx-niche-family img{height:153px!important}
}
@media(max-width:620px){
 #categorias .gx-cat-pro .gx-category-photo img.gx-cat-primary{
  left:9%!important;top:3%!important;width:82%!important;height:93%!important;
  padding:5px 12px!important
 }
 #categorias .gx-cat-pro .gx-category-photo{background:#fbfcfc!important}
 .gx-niche-families .gx-niche-family{
  padding:12px!important;min-height:237px!important
 }
 .gx-niche-families .gx-niche-family img{
  height:135px!important;padding:7px!important;margin:0 auto 10px!important
 }
 .gx-niche-families .gx-niche-family strong{font-size:15px!important;line-height:1.22!important}
 .gx-niche-families .gx-niche-family small{font-size:10px!important;line-height:1.43!important}
 .gx-niche-hero .gx-niche-scene-photo{object-fit:contain!important;max-height:100%!important}
 .gx-editorial-photo{background-size:cover!important;background-position:center 55%!important}
 .gx-archive-banner:before{background-size:cover;background-position:59% center}
}
@media(max-width:360px){
 .gx-niche-families .gx-niche-family img{height:120px!important}
}
@media(prefers-reduced-motion:reduce){
 #categorias .gx-cat-pro .gx-category-photo img.gx-cat-primary,
 .gx-niche-families .gx-niche-family{transition:none!important;transform:none!important}
}
