/* R80 — fechamento mobile: autocomplete isolado + placeholder de mídia */

/* Autocomplete final: portal independente do formulário e de estilos legados. */
#ggAutocompletePortal.ggac{
  position:fixed!important;
  z-index:30000!important;
  display:block;
  box-sizing:border-box!important;
  background:#fff!important;
  border:1px solid #e6ddd2!important;
  border-radius:14px!important;
  box-shadow:0 18px 44px rgba(35,26,18,.18)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
#ggAutocompletePortal.ggac[hidden]{display:none!important}
#ggAutocompletePortal .ggac-item,
#ggAutocompletePortal .ggac-all{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:48px!important;
  margin:0!important;
  padding:13px 14px!important;
  border:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
  box-shadow:none!important;
  transform:none!important;
  text-align:left!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  background:#fff!important;
  color:#221d18!important;
  font:700 14px/1.3 Inter,Arial,sans-serif!important;
}
#ggAutocompletePortal .ggac-item{
  border-bottom:1px solid #f0ebe5!important;
}
#ggAutocompletePortal .ggac-item::before,
#ggAutocompletePortal .ggac-item::after,
#ggAutocompletePortal .ggac-all::before,
#ggAutocompletePortal .ggac-all::after{content:none!important;display:none!important}
#ggAutocompletePortal .ggac-item.active,
#ggAutocompletePortal .ggac-item:hover{
  background:#fff8ea!important;
}
#ggAutocompletePortal .ggac-all{
  background:#fffaf1!important;
  color:#8d6511!important;
  text-align:center!important;
  font-size:12px!important;
  font-weight:800!important;
  border-top:1px solid #eadfce!important;
}
#ggAutocompletePortal .ggac-status{
  padding:14px!important;
  color:#796b5f!important;
  background:#fff!important;
  font:600 12px/1.4 Inter,Arial,sans-serif!important;
}

/* Mídia ausente: estado claro, consistente e não confundido com falha visual. */
.gg-media-placeholder{
  width:100%!important;
  height:100%!important;
  min-height:120px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  box-sizing:border-box!important;
  padding:18px!important;
  background:linear-gradient(145deg,#faf9f7,#f2efeb)!important;
  color:#8c8177!important;
  text-align:center!important;
}
.gg-media-placeholder svg{
  width:30px!important;
  height:30px!important;
  fill:none!important;
  stroke:#b5a89b!important;
  stroke-width:1.7!important;
}
.gg-media-placeholder b{
  font:800 12px/1.2 Inter,Arial,sans-serif!important;
  color:#7a6c60!important;
}
.gg-media-placeholder span{
  font:500 10px/1.25 Inter,Arial,sans-serif!important;
  color:#a3988f!important;
}
.thumb.empty{color:transparent!important;font-size:0!important}
.thumb.empty .gg-media-placeholder,
#detailModal .r30-main-image .gg-media-placeholder{color:#8c8177!important}

@media(max-width:820px){
  #ggAutocompletePortal.ggac{
    border-radius:13px!important;
    max-height:310px!important;
  }
  #ggAutocompletePortal .ggac-item{
    min-height:46px!important;
    padding:12px 13px!important;
    font-size:13.5px!important;
  }
  .gg-media-placeholder{min-height:100px!important}
}
