/* JIV — acertos de telemóvel em todo o site (320 a 1000 px). Só larguras e quebras; não muda conteúdos. */
html body.cl,html body.jiv-v2{max-width:100vw}
@media (max-width:1000px){
  .pdp{grid-template-columns:minmax(0,1fr)!important}
  .pdp>*,.gal>*,.buy,.buy>*{min-width:0!important;max-width:100%!important}
  .gal__th{overflow-x:auto;scrollbar-width:none}
  .gal__th button{flex:none}
  .buy h1{overflow-wrap:anywhere;text-wrap:balance}
  .buy .cols{flex-wrap:wrap!important;max-width:100%!important}
  .buy .buy__act{grid-template-columns:minmax(0,1fr) 56px!important}
  .buy .trust,.buy .acc__p{grid-template-columns:minmax(0,1fr)!important}
  .cpers__in{grid-template-columns:minmax(0,1fr)!important}
  .cpers__in>*{min-width:0!important;max-width:100%}
  .cpers__f{grid-template-columns:minmax(0,1fr) minmax(0,110px)!important}
  .cpers__f>*,.cpers__f .field,.cpers__f input{min-width:0!important;max-width:100%!important}
  .tools__in,.chero__in{grid-template-columns:minmax(0,1fr)!important}
  .tools__in>*,.chero__in>*{min-width:0!important}
}
@media (min-width:761px) and (max-width:1000px){.tools__in{grid-template-columns:minmax(0,1fr) auto!important}}
@media (min-width:761px) and (max-width:1000px){.gal{grid-template-columns:76px minmax(0,1fr)!important}}
@media (max-width:760px){
  .gal{grid-template-columns:minmax(0,1fr)!important}
  .buy .sizes{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .buy .sizes>*{min-width:0!important;padding-inline:4px!important}
  .az{max-width:100vw}
}
@media (max-width:430px){
  .buy .sizes{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .gal__z{letter-spacing:0!important}
}
/* ecrã de palavra-passe */
.acs__main{overflow:hidden}
@media (max-width:860px){.acs__in{grid-template-columns:minmax(0,1fr)!important}.acs__in>*{min-width:0!important;max-width:100%}.acs__h{overflow-wrap:anywhere}}
@media (max-width:360px){.acs__back{font-size:12px!important;letter-spacing:0!important}.acs__h{font-size:34px!important}}
/* carrinho, checkout e conta em ecrãs muito estreitos */
@media (max-width:380px){
  .jiv-wc .e-checkout__order_review table.shop_table{table-layout:fixed!important;width:100%!important}
  .jiv-wc .woocommerce table.shop_table td,.jiv-wc .woocommerce table.shop_table th{overflow-wrap:anywhere}
  .jiv-wc .woocommerce .button,.jiv-wc .woocommerce button[type=submit]:not(.show-password-input){max-width:100%!important;white-space:normal!important;padding-inline:14px!important}
  .jw-head{gap:8px!important}
  .jw-act a{font-size:12px!important;padding-inline:9px!important}
}
@media (max-width:380px){.jiv-wc .e-checkout__container,.jiv-wc .e-checkout__container>*,.jiv-wc .e-checkout__order_review,.jiv-wc .e-checkout__order_review-2{min-width:0!important;max-width:100%!important}}
/* guia de tamanhos (página que já existia): as tabelas deslizam dentro da página */
@media (max-width:767px){
  .itemSizeSelectWrapper{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .elementor-widget-text-editor table,.elementor-widget-html table{max-width:100%}
}
@media (max-width:767px){body:not(.cl):not(.jiv-v2):not(.jiv-wc) .elementor-location-header,body:not(.cl):not(.jiv-v2):not(.jiv-wc) [data-elementor-type=wp-page]{overflow-x:clip}}
@media (max-width:1000px){.buy__brand{margin-inline:0!important;margin-bottom:12px!important}.buy__brand img{margin-inline:0!important;max-height:40px}}
