/* 09/11/2026 Heitor: busca do celular ESTILO ZARA ("Zara bravo"): branco puro, preto puro, nada redondo, sem sombra.
   Campo só com uma linha preta embaixo, alinhado com o resto; sugestões em texto maiúsculo que quebram linha (não somem na borda);
   resultados em grade reta de 3 colunas, nomes em maiúsculo pequeno, preço preto, "-30%" discreto.
   v1/v2 eram da Central (creme/pílulas); v3 (Claude) refeita a pedido do Heitor; v4: 2 por linha, sem "Mais buscadas". */
@media (max-width:767px){
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx.arz-sx{background:#fff!important;color:#000!important}

/* topo: campo + X, mesma margem de 16px do resto */
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-bar{width:auto!important;max-width:none!important;box-sizing:border-box!important;display:flex!important;align-items:flex-end!important;gap:8px!important;margin:0!important;padding:12px 2px 0 16px!important;border:0!important;background:#fff!important;box-shadow:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-form{position:relative!important;flex:1 1 auto!important;display:flex!important;align-items:center!important;height:44px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-bottom:1px solid #000!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-form svg{display:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-in.arz-sx-in{width:100%!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;
  font:400 16px/44px "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;color:#000!important;-webkit-appearance:none!important;appearance:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-in::placeholder{color:#000!important;opacity:1!important;text-transform:uppercase!important;letter-spacing:.02em!important;font-size:13px!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-in::-webkit-search-cancel-button{display:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-x{flex:0 0 auto!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#000!important;display:flex!important;align-items:center!important;justify-content:center!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-x svg{width:16px!important;height:16px!important;opacity:1!important;stroke-width:1.2!important}

/* corpo */
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-body{padding:4px 16px 40px!important;background:#fff!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-kick,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-h{margin:26px 0 8px!important;padding:0!important;border:0!important;
  font:400 11px/16px "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#757575!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-sug>.arz-sx-h{display:none!important}

/* sugestões: texto preto maiúsculo, quebram linha */
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-sug{display:block!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-cats{display:flex!important;flex-wrap:wrap!important;gap:0 22px!important;overflow:visible!important;margin:0!important;padding:0!important;-webkit-mask-image:none!important;mask-image:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-cats a,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-sug a{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;height:34px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  font:400 12px/1 "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#000!important;text-decoration:none!important;white-space:nowrap!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-cat-photo{display:none!important}

/* resultados: grade reta de 3 colunas */
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arzz-sxg,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 8px!important;margin:0!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arzz-sxg .js-item-product,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-grid .js-item-product{margin:0!important;padding:0!important;width:auto!important;max-width:none!important;flex:none!important;border:0!important;box-shadow:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-dots{display:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .product-item-image-container{border-radius:0!important;overflow:hidden!important;margin:0!important;box-shadow:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product img{border-radius:0!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .product-item-information{padding:6px 0 0!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .js-item-name{margin:0 0 2px!important;font:400 11px/15px "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;color:#000!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-finance-pix{gap:4px!important;flex-wrap:wrap!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-finance-pix-value{font:400 12px/16px "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;letter-spacing:0!important;color:#000!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-finance-pix-method{font:400 10px/15px "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;color:#757575!important;text-transform:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-finance-sale{margin:0 0 1px!important;font:400 10px/14px "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;color:#757575!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-finance-old-price{font:inherit!important;color:#757575!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-finance .arzr-cpct.arzr-cpct.arzr-cpct.arzr-cpct{margin-left:5px!important;padding:0 3px!important;font:500 9.5px/14px "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;letter-spacing:0!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-finance-secondary,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .product-item-quick-shop-container,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arzc-tag,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-sale-badge,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product [class*=swatch],:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product [class*=cores],:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .arz-finance-sale-copy,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product .item-actions,:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product [class*=plus],:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .js-item-product [class*=quick]{display:none!important}

/* botão "ver todos": retângulo preto vazado */
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-all{display:flex!important;align-items:center!important;justify-content:center!important;height:44px!important;margin:28px 0 0!important;padding:0 16px!important;border:1px solid #000!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
  font:400 12px/1 "Helvetica Neue",Inter,Helvetica,Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#000!important;text-decoration:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx :is(.arz-sx-x,.arz-sx-cats a,.arz-sx-all):focus-visible{outline:1px solid #000!important;outline-offset:2px!important}
/* v4 (Heitor): sem "Mais buscadas"; só "Poderá ter interesse em", 2 peças por linha e só 4 peças antes de digitar */
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx .arz-sx-sug{display:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx:has(.arz-sx-in:placeholder-shown) :is(.arzz-sxg,.arz-sx-grid)>.js-item-product:nth-child(n+5){display:none!important}
/* 11/11: a busca precisa cobrir o viewport visual inteiro em navegadores móveis. */
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx.arz-sx{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100svh!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  isolation:isolate!important;
  background:#fff!important;
}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx.arz-sx::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-1!important;
  pointer-events:none!important;
  background:#fff!important;
}
/* 14/11 Heitor: "quando vai pesquisar, fica aparecendo a pagina de tras la embaixo". Com a busca aberta a pagina de tras fica
   travada (nao rola junto) e o branco da busca continua para baixo da tela (sombra branca), entao nenhum pedaco dela aparece
   quando a barra do Chrome/Safari se mexe. */
html:has(.arz-sx.on),html:has(.arz-sx.on) body{overflow:hidden!important;overscroll-behavior:none!important}
:is(#arzz,html) body:not(#z):not(#y):not(#w) .arz-sx.arz-sx.on{box-shadow:0 60vh 0 0 #fff!important}
}
/* 14/11 (2ª vez) Heitor: "na lupa continua aparecendo a página de trás lá embaixo".
   CAUSA: as correções anteriores tentavam fazer o branco da busca alcançar o fim da tela, mas no iPhone a altura da tela
   muda com a barra do navegador e o teclado, e sempre sobrava uma faixa por onde a página aparecia.
   SOLUÇÃO DEFINITIVA: com a busca aberta, a página de trás fica INVISÍVEL (e o fundo do site fica branco).
   Não importa o tamanho da tela: não existe mais página para aparecer. Ao fechar, tudo volta no mesmo lugar. */
html.arz-sx-lock,html.arz-sx-lock body,html:has(.arz-sx.on),html:has(.arz-sx.on) body{background:#fff!important}
html.arz-sx-lock body>*:not(.arz-sx),html:has(.arz-sx.on) body>*:not(.arz-sx){visibility:hidden!important}
html.arz-sx-lock body>.arz-sx,html:has(.arz-sx.on) body>.arz-sx.on{visibility:visible!important}
