/* Orbizzy V1022: correções pontuais baseadas na V1020.
   Somente barra de cookies notebook/desktop e estabilidade visual do rodape mobile.
   Banners, carrinho, categorias e vitrines permanecem inalterados. */
@media screen and (min-width:861px) {
  html body:not(.orbi-auth-body) > #orbiCookie.orbi-cookie {
    position:fixed !important;
    inset:auto auto 16px 50% !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:20px !important;
    width:min(790px, calc(100vw - 40px)) !important;
    min-width:0 !important;
    max-width:calc(100vw - 40px) !important;
    max-height:min(65dvh, 260px) !important;
    overflow:auto !important;
    padding:15px 18px !important;
    border:1px solid #ededed !important;
    border-radius:12px !important;
    box-sizing:border-box !important;
    background:#fff !important;
    box-shadow:0 10px 40px rgba(0,0,0,.18) !important;
    transform:translate3d(-50%, calc(100% + 40px), 0) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition:transform .28s ease, opacity .28s ease, visibility .28s ease !important;
    z-index:2147483000 !important;
  }
  html body:not(.orbi-auth-body) > #orbiCookie.orbi-cookie.is-visible:not([aria-hidden="true"]) {
    transform:translate3d(-50%, 0, 0) !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }
  html body:not(.orbi-auth-body) > #orbiCookie.orbi-cookie[aria-hidden="true"] {
    display:none !important;
    pointer-events:none !important;
  }
  html body:not(.orbi-auth-body) > #orbiCookie .orbi-cookie__text {
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:100% !important;
  }
  html body:not(.orbi-auth-body) > #orbiCookie .orbi-cookie__text p {
    overflow-wrap:break-word !important;
  }
  html body:not(.orbi-auth-body) > #orbiCookie .orbi-cookie__actions {
    display:flex !important;
    flex:0 0 auto !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:10px !important;
  }
  html body:not(.orbi-auth-body) > #orbiCookie .orbi-cookie__actions button {
    flex:0 0 auto !important;
    white-space:nowrap !important;
    height:40px !important;
    padding:0 15px !important;
  }
}
@media screen and (min-width:861px) and (max-width:980px) {
  html body:not(.orbi-auth-body) > #orbiCookie.orbi-cookie {
    flex-wrap:wrap !important;
    row-gap:10px !important;
  }
  html body:not(.orbi-auth-body) > #orbiCookie .orbi-cookie__actions {
    margin-left:auto !important;
  }
}
@media screen and (max-width:860px) {
  /* Mantem o rodape estruturado original, sem deixar regras de pagina
     esconderem os links ou empurrarem o bloco para fora da tela. */
  html body > footer.orbi-footer.orbi-structured-footer {
    display:block !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:visible !important;
    box-sizing:border-box !important;
    clear:both !important;
  }
  html body > footer.orbi-footer.orbi-structured-footer > .orbi-footer__alpha,
  html body > footer.orbi-footer.orbi-structured-footer > .orbi-footer__bottom {
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }
  html body > footer.orbi-footer.orbi-structured-footer .orbi-footer__legal-links {
    overflow-wrap:anywhere !important;
  }
}
