/* R94.2 — estrutura da Home compartilhada: categorias > banner > abas > vitrines */
body.r27-home-mode #ggHomeRails.r94-home-canonical{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
}
body.r27-home-mode #ggHomeRails.r94-home-canonical>.gg-type-section{order:0!important}
body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggBannerHost{order:1!important}
body.r27-home-mode #ggHomeRails.r94-home-canonical>#r72QuickNav{order:2!important}
body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggHighlights{order:3!important}
body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggNewest{order:4!important}
body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggOffers{order:5!important}

body.r27-home-mode .gg-type-section>.r94-home-legacy-heading{display:none!important}
body.r27-home-mode .gg-type-section>.r94-home-heading{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:16px!important;
  margin:0 0 14px!important;
}
body.r27-home-mode .gg-type-section>.r94-home-heading .r91-category-title{
  color:#b77b00!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body.r27-home-mode .gg-type-section>.r94-home-heading .r91-category-all{
  min-height:40px!important;
  padding:0 17px!important;
  border:1px solid #c99718!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#a96f00!important;
  font-weight:850!important;
}

body.r27-home-mode #ggCategoryTiles{
  display:flex!important;
  align-items:flex-start!important;
  gap:20px!important;
  width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:4px 42px 12px!important;
  scrollbar-width:none!important;
}
body.r27-home-mode #ggCategoryTiles::-webkit-scrollbar{display:none!important}
body.r27-home-mode #ggCategoryTiles .r94-category-card{
  flex:0 0 116px!important;
  width:116px!important;
  min-width:116px!important;
  min-height:108px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  color:#24201d!important;
}
body.r27-home-mode #ggCategoryTiles .r91-category-icon{
  width:68px!important;
  height:68px!important;
  border:1.5px solid #d6b669!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  color:#312b27!important;
}
body.r27-home-mode #ggCategoryTiles .r91-category-icon svg{
  width:29px!important;
  height:29px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.r27-home-mode #ggCategoryTiles .r91-category-label{
  max-width:114px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1.22!important;
  font-weight:800!important;
}

body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggBannerHost.gg-home-banner{
  display:block!important;
  width:min(96%,1440px)!important;
  max-width:1440px!important;
  margin:8px auto 10px!important;
}
body.r27-home-mode #ggHomeRails.r94-home-canonical>#r72QuickNav{
  display:flex!important;
  justify-content:flex-start!important;
  margin:0 0 12px!important;
  padding:4px 0 8px!important;
}
body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggHighlights{
  margin-top:0!important;
  padding-top:0!important;
}

@media(max-width:820px){
  body.r27-home-mode .gg-type-section>.r94-home-heading{
    gap:10px!important;
    margin:8px 12px 10px!important;
    flex-wrap:wrap!important;
  }
  body.r27-home-mode .gg-type-section>.r94-home-heading .r91-category-title{font-size:11px!important}
  body.r27-home-mode .gg-type-section>.r94-home-heading .r91-category-all{
    min-height:36px!important;
    padding:0 13px!important;
    font-size:11px!important;
  }
  body.r27-home-mode #ggCategoryTiles{
    gap:14px!important;
    padding:3px 12px 10px!important;
  }
  body.r27-home-mode #ggCategoryTiles .r94-category-card{
    flex-basis:92px!important;
    width:92px!important;
    min-width:92px!important;
    min-height:92px!important;
  }
  body.r27-home-mode #ggCategoryTiles .r91-category-icon{
    width:58px!important;
    height:58px!important;
  }
  body.r27-home-mode #ggCategoryTiles .r91-category-icon svg{
    width:25px!important;
    height:25px!important;
  }
  body.r27-home-mode #ggCategoryTiles .r91-category-label{
    max-width:90px!important;
    font-size:10.5px!important;
  }
  body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggBannerHost.gg-home-banner{
    width:94%!important;
    max-width:94%!important;
    margin:4px auto 10px!important;
  }
  body.r27-home-mode #ggHomeRails.r94-home-canonical>#r72QuickNav{
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    margin:0 0 8px!important;
    padding:4px 12px 8px!important;
    scrollbar-width:none!important;
  }
  body.r27-home-mode #ggHomeRails.r94-home-canonical>#r72QuickNav::-webkit-scrollbar{display:none!important}
  body.r27-home-mode #ggHomeRails.r94-home-canonical>#r72QuickNav button{flex:0 0 auto!important}
}


/* R94.3 — Desktop: banner da Home em largura ampla, sem alterar Mobile/PWA */
@media (min-width:821px){
  body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggBannerHost.gg-home-banner{
    width:min(calc(100vw - 52px),1880px)!important;
    max-width:none!important;
    margin:8px 0 10px 50%!important;
    transform:translateX(-50%)!important;
  }
  body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggBannerHost .gg-banner-carousel{
    width:100%!important;
    aspect-ratio:3/1!important;
  }
  body.r27-home-mode #ggHomeRails.r94-home-canonical>#ggBannerHost .gg-banner-slide img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
}


/* R94.4 — Desktop: centraliza menu de categorias e alinha o CTA ao mesmo eixo */
@media (min-width:821px){
  body.r27-home-mode .gg-type-section>.r94-home-heading{
    width:min(100%,1204px)!important;
    max-width:1204px!important;
    margin:0 auto 14px!important;
    justify-content:flex-start!important;
  }
  body.r27-home-mode #ggCategoryTiles{
    justify-content:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
