/* v2.33.9 — Banner principal compacto. Não afeta banners de loja/categorias. */
@media (min-width:1024px) {
  .mbx-hero .mbx-hero-copy {
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:clamp(6px,.7vw,11px)!important;
  }
  .mbx-hero .mbx-hero-copy h1 {
    width:100%!important;
    max-width:none!important;
    font-size:clamp(26px,3.0vw,48px)!important;
    letter-spacing:-.035em;
    line-height:1.12!important;
    white-space:nowrap!important;
  }
  .mbx-hero .mbx-hero-copy p {
    width:100%!important;
    max-width:none!important;
    font-size:clamp(12px,1.05vw,17px)!important;
    line-height:1.35!important;
    white-space:nowrap!important;
  }
  .mbx-hero,
  .mbx-hero.alignfull {padding-block:clamp(14px,2vw,30px)!important;}
  .mbx-hero .mbx-hero-eyebrow {font-size:11px!important;}
  .mbx-hero .mbx-hero-button {padding:10px 17px!important;min-height:40px!important;font-size:12px!important;}
}
@media (min-width:781px) and (max-width:1023px) {
  .mbx-hero .mbx-hero-copy {width:100%!important;max-width:100%!important;gap:8px!important;}
  .mbx-hero .mbx-hero-copy h1 {max-width:none!important;font-size:clamp(25px,3.3vw,34px)!important;white-space:normal!important;}
  .mbx-hero .mbx-hero-copy p {max-width:none!important;font-size:13px!important;line-height:1.4!important;}
  .mbx-hero,.mbx-hero.alignfull {padding:18px 24px!important;}
  .mbx-hero .mbx-hero-button {min-height:40px!important;padding:9px 14px!important;font-size:12px!important;}
}
@media (max-width:780px) {
  .mbx-hero,.mbx-hero.alignfull {padding:12px 17px!important;}
  .mbx-hero .mbx-hero-copy {width:100%!important;max-width:100%!important;gap:7px!important;}
  /* Telemóveis: quebras naturais, sem texto cortado fora do ecrã. */
  .mbx-hero .mbx-hero-copy h1 {max-width:100%!important;font-size:clamp(23px,6.5vw,31px)!important;line-height:1.08!important;white-space:normal!important;overflow-wrap:normal!important;}
  .mbx-hero .mbx-hero-copy p {max-width:100%!important;font-size:clamp(11.5px,2.9vw,13px)!important;line-height:1.36!important;white-space:normal!important;}
  .mbx-hero .mbx-hero-eyebrow {font-size:10px!important;letter-spacing:.10em!important;}
  .mbx-hero .mbx-hero-rule {width:56px;height:3px;}
  .mbx-hero .mbx-hero-button {min-height:36px!important;padding:8px 12px!important;font-size:11px!important;}
  /* Conteúdo acessível mesmo em ecrãs estreitos ou com letras ampliadas. */
  .mbx-hero,.mbx-hero.alignfull {height:auto!important;min-height:var(--mbx-banner-height-mobile,295px)!important;}
}

/* Com o menu de categorias aberto, o texto adapta-se à área visível. */
@media (min-width:781px) {
  body.mbx-categories-open .mbx-hero .mbx-hero-copy h1,
  body.mbx-categories-open .mbx-hero .mbx-hero-copy p {white-space:normal!important;}
}
