/* R54 — composição exclusiva para mobile. Desktop permanece inalterado. */
@media(max-width:620px){
  body.r54-mobile-home.r27-home-mode #publicApp>.wrap{
    padding-left:16px!important;
    padding-right:16px!important;
  }

  /* O painel secundário (logo/fluxo) não ocupa mais uma tela inteira no celular. */
  body.r54-mobile-home.r27-home-mode #publicApp .hero{
    display:block!important;
    margin:12px 0 4px!important;
  }
  body.r54-mobile-home.r27-home-mode #publicApp .hero>.flow{
    display:none!important;
  }
  body.r54-mobile-home.r27-home-mode #publicApp .hero-copy{
    padding:22px 18px 20px!important;
    border-radius:22px!important;
  }
  body.r54-mobile-home.r27-home-mode #publicApp .hero-copy .eyebrow{
    margin-bottom:7px!important;
    font-size:10px!important;
  }
  body.r54-mobile-home.r27-home-mode #publicApp .hero h1{
    font-size:clamp(34px,10.2vw,43px)!important;
    line-height:.98!important;
    margin:6px 0 11px!important;
    letter-spacing:-.045em!important;
  }
  body.r54-mobile-home.r27-home-mode #publicApp .hero p{
    font-size:13px!important;
    line-height:1.45!important;
  }
  body.r54-mobile-home.r27-home-mode #publicApp .hero .search{
    margin-top:15px!important;
    gap:7px!important;
  }
  body.r54-mobile-home.r27-home-mode #publicApp .hero .search input{
    min-width:0!important;
    padding:12px 13px!important;
    font-size:13px!important;
  }
  body.r54-mobile-home.r27-home-mode #publicApp .hero .search .btn{
    padding:11px 14px!important;
    font-size:12px!important;
  }

  /* Categorias entram imediatamente depois da busca. */
  body.r54-mobile-home.r27-home-mode #ggHomeRails{
    margin-top:0!important;
  }
  body.r54-mobile-home.r27-home-mode #ggHomeRails>.gg-type-section{
    padding:14px 0 4px!important;
    margin:0!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:center!important;
    margin-bottom:11px!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-head>div{
    min-width:0!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-head .eyebrow{
    font-size:11px!important;
    line-height:1.2!important;
    letter-spacing:.11em!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-all{
    font-size:10.5px!important;
    padding:8px 10px!important;
    white-space:nowrap!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-carousel{
    grid-auto-columns:82%!important;
    gap:10px!important;
    padding-bottom:8px!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-card{
    min-height:210px!important;
    border-radius:22px!important;
    padding:20px 19px 18px!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-card h3{
    font-size:25px!important;
    margin:17px 0 8px!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-card p{
    font-size:12px!important;
    line-height:1.42!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-bottom{
    padding-top:15px!important;
  }
  body.r54-mobile-home.r27-home-mode .gg-type-arrow{
    width:38px!important;
    height:38px!important;
    font-size:22px!important;
  }

  /* O conteúdo seguinte começa logo após a vitrine, sem vazio excessivo. */
  body.r54-mobile-home.r27-home-mode #ggHighlights{
    margin-top:18px!important;
  }
}