/* ================================================================
   BIGPIRES — TRANSPARENT OVERLAID HEADER + HERO CAROUSEL
   catalog/view/stylesheet/bigpires-header.css
   ─────────────────────────────────────────────────────────────
   ÂMBITO: Estrutura de posicionamento CSS apenas.
   Design final (cores, tipografia, imagens) em separado.
   ─────────────────────────────────────────────────────────────
   ÍNDICE:
     1. Custom Properties (tokens de design)
     2. Resets para o layout antigo
     3. Site Header — estrutura base (todas as páginas)
     4. Site Header — transparente (homepage via :has + .common-home)
     5. Site Header — scrolled (JS adiciona .is-scrolled)
     6. Hero Carousel — container fullscreen
     7. Hero Carousel — slots do slider e gradiente
     8. Menu dentro do header — overrides Bootstrap
     9. Carrinho e ações à direita
    10. Responsivo — breakpoints
   ================================================================ */


/* ================================================================
   1. CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* Header */
  --sh-height:          80px;          /* Altura do header em desktop */
  --sh-height-mobile:   64px;          /* Altura em mobile/tablet      */
  --sh-z-index:         1000;          /* Z-index — acima do carrossel  */
  --sh-padding-x:       2rem;          /* Padding horizontal interno    */
  --sh-gap:             1.5rem;        /* Espaçamento entre colunas     */
  --sh-max-width:       1440px;        /* Largura máxima do inner       */
  --sh-transition:      background-color 0.35s ease, box-shadow 0.35s ease;

  /* Header — estado sólido (páginas internas) */
  --sh-bg-solid:        #ffffff;
  --sh-shadow-solid:    0 2px 16px rgba(0, 0, 0, 0.08);
  --sh-link-color:      #333333;
  --sh-link-hover-bg:   rgba(0, 0, 0, 0.06);

  /* Header — estado transparente (homepage) */
  --sh-bg-transparent:  transparent;
  --sh-link-color-hero: rgba(255, 255, 255, 0.92);
  --sh-link-hover-bg-hero: rgba(255, 255, 255, 0.14);
  --sh-text-shadow:     0 1px 4px rgba(0, 0, 0, 0.45);

  /* Botão CTA */
  --sh-btn-border:      rgba(255, 255, 255, 0.75); /* transparente        */
  --sh-btn-border-solid: #2fcfb3;                  /* sólido (cor BigPires) */
  --sh-btn-radius:      50px;
  --sh-btn-font-size:   0.84rem;

  /* Hero Carousel */
  --hero-height:        100vh;
  --hero-min-height:    600px;
  --hero-bg-fallback:   #c8cdd4;      /* Cor enquanto imagem não carrega */

  /* Gradiente subtil no topo — suficiente para legibilidade sem parecer sólido */
  --hero-gradient: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.14) 50%,
    transparent        100%
  );
  --hero-gradient-height: 32%;        /* Altura do gradiente em % da section */
}


/* ================================================================
   2. RESETS — Remove elementos do layout antigo
   ================================================================ */

/* ── Reset base — elimina toda a margem/padding que cria gap no topo ── */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body {
  overflow-x: hidden;
}

/* O #container do OpenCart usa position:absolute (stylesheet.css).
   Forçamos top:0 / left:0 para que comece exactamente em (0,0) do viewport. */
#container {
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

/* <main> — páginas internas: padding-top para compensar o header fixo. */
#main-content {
  display: block;
  position: relative;   /* cria stacking context próprio para filhos */
  z-index: 1;           /* garante que fica ABAIXO do footer (z-index:10) */
  margin: 0 !important;
  padding: 0;
  padding-top: var(--sh-height);  /* Compensa a altura do header fixo */
  width: 100%;
  max-width: none;
  overflow: visible;    /* não clipar o footer nem os módulos full-bleed */
}

/* Homepage: o hero começa em y=0 (o header flutua por cima) — sem padding */
body.common-home #main-content,
#container:has(.hero-carousel) #main-content {
  padding-top: 0 !important;
}

/* Nenhum section/div antes do hero pode ter margin-top */
#main-content > section:first-of-type,
#main-content > .hero-carousel {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* O #alert quando vazio não deve ocupar espaço */
#alert:empty {
  display: none;
}
#alert {
  margin: 0;
  padding: 0;
}

/* A top-bar (#top) com currency/language/account não é usada
   no novo header. Mantida no DOM para funcionalidade futura. */
#top {
  display: none;
}

/* Remove a margem inferior que o #menu original adicionava
   quando estava fora do header (fluxo antigo). */
.site-header__nav-wrapper #menu {
  margin-bottom: 0;
}

/* O #logo original já não é usado — o logo está dentro de .site-header__logo */
#logo {
  display: none;
}

/* Remove o #search e o #cart que estavam no header antigo (substituídos) */
header > .container {
  display: none; /* Esconde o container do header original se existir */
}


/* ================================================================
   3. SITE HEADER — Estrutura base (todas as páginas)
   ─────────────────────────────────────────────────────────────
   Position: relative → ocupa espaço no fluxo normal.
   Background: sólido → legível sobre qualquer conteúdo.
   ================================================================ */

/* Header FIXO por defeito (todas as páginas excepto homepage sem scroll).
   Em páginas internas está sempre colado ao topo com fundo branco.
   Na homepage sem scroll o CSS da secção 4 sobrepõe para position:absolute.
   Sem transition inicialmente — activada depois do primeiro paint (evita flash). */
#site-header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--sh-z-index);
  background-color: var(--sh-bg-solid);
  box-shadow: var(--sh-shadow-solid);
  transition: none;
}

/* Transitions re-activadas após o carregamento da página */
body.js-transitions-ready #site-header.site-header {
  transition: var(--sh-transition);
}

/* ── Inner: layout CSS Grid de 3 colunas ──
   [logo]  [nav — cresce para preencher]  [actions]
   Auto    1fr                             Auto
*/
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--sh-height);
  padding: 0 var(--sh-padding-x);
  gap: var(--sh-gap);
  max-width: var(--sh-max-width);
  margin: 0 auto;
  width: 100%;
}

/* ── Coluna 1: Logo ── */
.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1;
}

.site-header__logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo-img {
  display: block;
  max-height: 48px;
  width: auto;
  transition: opacity 0.2s ease;
}

.site-header__logo-img:hover {
  opacity: 0.82;
}

.site-header__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sh-link-color);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

/* ── Troca de logos ──────────────────────────────────────────────────────────
   --hero:  logo para header transparente (homepage sem scroll) — branco/claro
   --solid: logo para header sólido (páginas internas + homepage com scroll) — escuro
   Por defeito (páginas internas, header fixo branco): mostra --solid, esconde --hero.
   Na homepage sem scroll (secção 4): inverte.
   ─────────────────────────────────────────────────────────────────────────── */
.site-header__logo--hero  { display: none; }
.site-header__logo--solid { display: block; }

/* ── Coluna 2: Wrapper do menu (navigation) ── */
.site-header__nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 0; /* Permite que a coluna encolha se necessário */
}

/* ── Coluna 3: Ações à direita ── */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  z-index: 1;
}

/* Seletor de idioma */
.site-header__lang {
  display: flex;
  align-items: center;
}

/* Botão CTA "Solicite o seu Orçamento" — estado sólido */
.site-header__quote-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--sh-btn-border-solid);
  border-radius: var(--sh-btn-radius);
  color: var(--sh-link-color);
  font-size: var(--sh-btn-font-size);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  line-height: 1.4;
}

.site-header__quote-btn:hover,
.site-header__quote-btn:focus {
  background-color: var(--sh-btn-border-solid);
  color: #ffffff;
  text-decoration: none;
  outline: none;
}

/* Carrinho */
.site-header__cart {
  position: relative;
  display: flex;
  align-items: center;
}


/* ================================================================
   4. SITE HEADER — Transparente / Sobreposto
   ─────────────────────────────────────────────────────────────
   Ativado por DOIS mecanismos (para máxima compatibilidade):

   A) CSS :has() — deteção pura sem JS (browsers modernos ≥ 2022)
      Seleciona o header quando existe .hero-carousel no container.

   B) .common-home no <body> — fallback JS para browsers antigos
      home.twig injeta: document.body.classList.add('common-home')
   ================================================================ */

/* ── Mecanismo A: CSS :has() ── */
#container:has(.hero-carousel) #site-header.site-header:not(.is-scrolled),
/* ── Mecanismo B: classe JS ── */
body.common-home #site-header.site-header:not(.is-scrolled) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--sh-bg-transparent) !important;
  box-shadow: none !important;
}

/* Logo: na homepage sem scroll → hero logo visível, solid logo escondido */
body.common-home #site-header:not(.is-scrolled) .site-header__logo--hero,
#container:has(.hero-carousel) #site-header:not(.is-scrolled) .site-header__logo--hero {
  display: block;
}
body.common-home #site-header:not(.is-scrolled) .site-header__logo--solid,
#container:has(.hero-carousel) #site-header:not(.is-scrolled) .site-header__logo--solid {
  display: none;
}

/* Links de navegação — branco com text-shadow sobre o hero */
#container:has(.hero-carousel) .site-header__nav-wrapper #menu .nav-link,
#container:has(.hero-carousel) .site-header__nav-wrapper #menu .navbar-nav > li > a,
body.common-home .site-header__nav-wrapper #menu .nav-link,
body.common-home .site-header__nav-wrapper #menu .navbar-nav > li > a {
  color: var(--sh-link-color-hero) !important;
  text-shadow: var(--sh-text-shadow);
}

#container:has(.hero-carousel) .site-header__nav-wrapper #menu .nav-link:hover,
#container:has(.hero-carousel) .site-header__nav-wrapper #menu .navbar-nav > li > a:hover,
body.common-home .site-header__nav-wrapper #menu .nav-link:hover,
body.common-home .site-header__nav-wrapper #menu .navbar-nav > li > a:hover {
  color: #ffffff !important;
  background-color: var(--sh-link-hover-bg-hero) !important;
  text-shadow: var(--sh-text-shadow);
}

/* Logo text no estado transparente */
#container:has(.hero-carousel) .site-header__logo-text,
body.common-home .site-header__logo-text {
  color: #ffffff;
}

/* Botão CTA — versão clara para fundo escuro */
#container:has(.hero-carousel) .site-header__quote-btn,
body.common-home .site-header__quote-btn {
  border-color: var(--sh-btn-border);
  color: #ffffff;
}

#container:has(.hero-carousel) .site-header__quote-btn:hover,
body.common-home .site-header__quote-btn:hover {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  color: #222;
}

/* Hambúrguer mobile — visível sobre o hero */
#container:has(.hero-carousel) .site-header__nav-wrapper .navbar-toggler,
body.common-home .site-header__nav-wrapper .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.55);
}

#container:has(.hero-carousel) .site-header__nav-wrapper .navbar-toggler i,
body.common-home .site-header__nav-wrapper .navbar-toggler i {
  color: #ffffff;
}


/* ================================================================
   5. SITE HEADER — Estado "scrolled"
   ─────────────────────────────────────────────────────────────
   Quando o utilizador faz scroll, o JS adiciona .is-scrolled
   ao #site-header, tornando-o sólido novamente.

   Snippet JS mínimo (adicionar ao footer ou custom JS):
   ─────────────────────────────────────────────────────────────
   const header = document.getElementById('site-header');
   window.addEventListener('scroll', () => {
     header.classList.toggle('is-scrolled', window.scrollY > 60);
   }, { passive: true });
   ─────────────────────────────────────────────────────────────
   ================================================================ */

/* Ao fazer scroll na homepage → header passa a FIXED com fundo branco */
#container:has(.hero-carousel) #site-header.site-header.is-scrolled,
body.common-home #site-header.site-header.is-scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background-color: rgba(255, 255, 255, 0.97) !important;
  box-shadow: var(--sh-shadow-solid) !important;
}

/* Reverter links para cor escura quando scrolled */
#container:has(.hero-carousel) #site-header.is-scrolled .site-header__nav-wrapper #menu .nav-link,
#container:has(.hero-carousel) #site-header.is-scrolled .site-header__nav-wrapper #menu .navbar-nav > li > a,
body.common-home #site-header.is-scrolled .site-header__nav-wrapper #menu .nav-link,
body.common-home #site-header.is-scrolled .site-header__nav-wrapper #menu .navbar-nav > li > a {
  color: var(--sh-link-color) !important;
  text-shadow: none;
}

body.common-home #site-header.is-scrolled .site-header__quote-btn,
#container:has(.hero-carousel) #site-header.is-scrolled .site-header__quote-btn {
  border-color: var(--sh-btn-border-solid);
  color: var(--sh-link-color);
}

body.common-home #site-header.is-scrolled .site-header__quote-btn:hover,
#container:has(.hero-carousel) #site-header.is-scrolled .site-header__quote-btn:hover {
  background-color: var(--sh-btn-border-solid);
  color: #ffffff;
}


/* ================================================================
   6. HERO CAROUSEL — Container fullscreen
   ─────────────────────────────────────────────────────────────
   position: relative → contexto para filhos absolute
   height: 90vh       → cobre quase todo o viewport
   O header está em position:absolute → flutua aqui
   ================================================================ */

.hero-carousel {
  position: relative;          /* contexto para filhos absolute */
  display: block;
  width: 100%;                 /* 100% do #main-content que já é full-width */
  margin: 0;
  padding: 0;

  height: var(--hero-height);
  min-height: var(--hero-min-height);
  overflow: hidden;
  background-color: var(--hero-bg-fallback);
}


/* ================================================================
   7. HERO CAROUSEL — Gradiente, slider e conteúdo
   ================================================================ */

/* ── Gradiente escuro no topo (pseudo-elemento ::before) ──
   Assegura legibilidade do menu sobre qualquer imagem.
   z-index: 2 → acima do slider (z:1), abaixo do conteúdo (z:3)
   pointer-events: none → não bloqueia cliques no slider
*/
.hero-carousel::before {
  content:          '';
  position:         absolute;
  top:              0;
  left:             0;
  width:            100%;
  height:           var(--hero-gradient-height);
  background:       var(--hero-gradient);
  z-index:          2;
  pointer-events:   none;
}

/* ── Slot do Slider ──
   Qualquer elemento direto filho do .hero-carousel que seja
   um plugin de carrossel deve preencher toda a área.
   Compatível com: Bootstrap Carousel, Swiper.js, Splide.js
*/
.hero-carousel__slider,
.hero-carousel > .carousel,       /* Bootstrap 5 Carousel */
.hero-carousel > .swiper,         /* Swiper.js            */
.hero-carousel > .splide {        /* Splide.js            */
  position: absolute;
  inset: 0;                       /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Imagens do slider: cover para preencher sem deformar */
.hero-carousel .carousel-item img,
.hero-carousel .carousel-item > picture > img,
.hero-carousel .swiper-slide img,
.hero-carousel .splide__slide img,
.hero-carousel__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── Placeholder visual (remove após injetar o slider real) ── */
.hero-carousel__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Gradiente de placeholder — substituído pela imagem real */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  font-family: monospace;
  letter-spacing: 0.05em;
  z-index: 1;
  user-select: none;
}

/* ── Conteúdo sobreposto ao slider (textos, CTAs, etc.) ──
   z-index: 3 → acima do gradiente (z:2) e do slider (z:1)
   Posicionamento: personalizável pelo designer.
*/
.hero-carousel__content {
  position: absolute;
  z-index: 3;
  bottom: 12%;
  left: 5%;
  max-width: 55%;
  color: #ffffff;
}

/* ── Controlos do carrossel: acima do gradiente ── */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.hero-carousel .carousel-indicators,
.hero-carousel .swiper-button-prev,
.hero-carousel .swiper-button-next,
.hero-carousel .swiper-pagination,
.hero-carousel .splide__arrows,
.hero-carousel .splide__pagination {
  z-index: 4;
}

/* ── Caption do Bootstrap Carousel dentro do hero ── */
.hero-carousel .carousel-caption {
  z-index: 3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}


/* ================================================================
   8. MENU DENTRO DO HEADER — Overrides Bootstrap
   ─────────────────────────────────────────────────────────────
   O menu.twig renderiza <nav id="menu" class="navbar ...">
   Os estilos abaixo anulam o background/border originais e
   integram o navbar no layout do header.
   ================================================================ */

/* Remove background e border do Bootstrap navbar dentro do header */
.site-header__nav-wrapper #menu.navbar {
  background-color: transparent !important;
  background-image:  none         !important;
  border:            none         !important;
  border-radius:     0;
  box-shadow:        none;
  padding:           0;
  min-height:        auto;
  width:             100%;
  height:            100%;
}

/* Centraliza os items da navbar */
.site-header__nav-wrapper .navbar-collapse {
  justify-content: center;
}

/* Lista de items */
.site-header__nav-wrapper #menu .navbar-nav {
  gap: 0.125rem;
  align-items: center;
  flex-wrap: nowrap;
}

/* Links — estado sólido (cor escura, sem text-shadow) */
.site-header__nav-wrapper #menu .nav-link,
.site-header__nav-wrapper #menu .navbar-nav > li > a {
  color:            var(--sh-link-color) !important;
  font-size:        0.88rem;
  font-weight:      500;
  padding:          0.45rem 0.85rem;
  border-radius:    4px;
  text-shadow:      none;
  text-decoration:  none;
  white-space:      nowrap;
  transition:       color 0.2s ease, background-color 0.2s ease;
  line-height:      1.4;
}

.site-header__nav-wrapper #menu .nav-link:hover,
.site-header__nav-wrapper #menu .navbar-nav > li > a:hover,
.site-header__nav-wrapper #menu .nav-item.active > .nav-link {
  color:            #000000 !important;
  background-color: var(--sh-link-hover-bg);
}

/* Dropdown: borda de topo colorida + sombra suave */
.site-header__nav-wrapper #menu .dropdown-menu {
  border-top:               3px solid var(--sh-btn-border-solid);
  border-top-left-radius:   0;
  border-top-right-radius:  0;
  box-shadow:               0 8px 28px rgba(0, 0, 0, 0.10);
  margin-top:               0;
}

/* Remove o label #category (antigo "All Categories") */
.site-header__nav-wrapper #category {
  display: none;
}

/* ── Dropdown inner: colunas em desktop ── */
.site-header__nav-wrapper #menu .dropdown-inner {
  display: flex;
  flex-direction: row;
}

.site-header__nav-wrapper #menu .dropdown-inner ul {
  min-width: 200px;
}

/* Dropdown abrir ao hover em desktop */
@media (min-width: 992px) {
  .site-header__nav-wrapper #menu .dropdown:hover > .dropdown-menu {
    display: block;
    animation: menuFadeIn 0.18s ease;
  }
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0);   }
}


/* ================================================================
   9. CARRINHO E AÇÕES — Overrides do componente OpenCart
   ================================================================ */

/* O componente cart.twig gera um botão Bootstrap grande.
   Substituímos por um estilo ícone compacto. */
.site-header__cart .btn.btn-lg,
.site-header__cart .btn-inverse {
  background-color: transparent;
  border:           none;
  padding:          0.4rem 0.5rem;
  font-size:        1.15rem;
  color:            var(--sh-link-color);
  box-shadow:       none;
  transition:       color 0.2s ease;
  position:         relative;
  line-height:      1;
}

.site-header__cart .btn.btn-lg:hover,
.site-header__cart .btn-inverse:hover {
  color: #000;
  background-color: var(--sh-link-hover-bg);
  border-radius: 6px;
}

/* Dropdown do cart alinhado à direita */
.site-header__cart .dropdown-menu {
  right:  0;
  left:   auto;
  min-width: 320px;
}

/* Ícone do carrinho + badge de quantidade */
.site-header__cart #header-cart {
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: top;
}

/* Estado transparente: ícone do carrinho branco */
#container:has(.hero-carousel) .site-header__cart .btn.btn-lg,
#container:has(.hero-carousel) .site-header__cart .btn-inverse,
body.common-home .site-header__cart .btn.btn-lg,
body.common-home .site-header__cart .btn-inverse {
  color: rgba(255, 255, 255, 0.90);
  text-shadow: var(--sh-text-shadow);
}

#container:has(.hero-carousel) .site-header__cart .btn.btn-lg:hover,
body.common-home .site-header__cart .btn.btn-lg:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
  text-shadow: var(--sh-text-shadow);
  border-radius: 6px;
}

/* Scrolled: reverter para cor escura */
body.common-home #site-header.is-scrolled .site-header__cart .btn.btn-lg,
#container:has(.hero-carousel) #site-header.is-scrolled .site-header__cart .btn.btn-lg {
  color: var(--sh-link-color);
  text-shadow: none;
}


/* ================================================================
   10. RESPONSIVO
   ─────────────────────────────────────────────────────────────
   Breakpoints:
     ≥ 992px (lg)  → desktop:  layout 3 colunas, tudo visível
     < 992px       → tablet:   esconde quote-btn e lang
     < 576px (sm)  → mobile:   reduz altura e padding
   ================================================================ */

/* ── Tablet / mobile ── */
@media (max-width: 991.98px) {

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    height: var(--sh-height-mobile);
    padding: 0 1rem;
    gap: 0.75rem;
  }

  /* Esconde CTA e língua em mobile — aparecem no menu expandido */
  .site-header__quote-btn {
    display: none;
  }

  .site-header__lang {
    display: none;
  }

  /* O menu collapse aparece abaixo do header, full-width */
  .site-header__nav-wrapper {
    position: static; /* garante que o collapse não é absolute */
  }

  /* O #navbar-menu quando expandido flutua abaixo do header */
  .site-header__nav-wrapper #navbar-menu.show {
    position:         absolute;
    top:              100%; /* imediatamente abaixo do header */
    left:             0;
    right:            0;
    width:            100%;
    background-color: rgba(255, 255, 255, 0.97);
    border-top:       1px solid rgba(0, 0, 0, 0.08);
    box-shadow:       0 8px 24px rgba(0, 0, 0, 0.10);
    padding:          0.75rem 1rem;
    z-index:          999;
  }

  /* No hero transparente: menu mobile com fundo escuro */
  #container:has(.hero-carousel) .site-header__nav-wrapper #navbar-menu.show,
  body.common-home .site-header__nav-wrapper #navbar-menu.show {
    background-color: rgba(18, 18, 18, 0.96);
  }

  /* Links verticais no mobile — cor escura por defeito */
  .site-header__nav-wrapper #menu .nav-link,
  .site-header__nav-wrapper #menu .navbar-nav > li > a {
    color:   var(--sh-link-color) !important;
    padding: 0.65rem 0.5rem;
    text-shadow: none !important;
  }

  /* Links no menu mobile sobre hero — cor branca */
  #container:has(.hero-carousel) .site-header__nav-wrapper #navbar-menu .nav-link,
  #container:has(.hero-carousel) .site-header__nav-wrapper #navbar-menu .navbar-nav > li > a,
  body.common-home .site-header__nav-wrapper #navbar-menu .nav-link,
  body.common-home .site-header__nav-wrapper #navbar-menu .navbar-nav > li > a {
    color: rgba(255, 255, 255, 0.88) !important;
  }

  /* Dropdown mobile: lista completa, sem colunas */
  .site-header__nav-wrapper #menu .dropdown-inner {
    flex-direction: column;
  }

}

/* ── Mobile pequeno (< 576px) ── */
@media (max-width: 575.98px) {

  .site-header__inner {
    height: 58px;
    padding: 0 0.75rem;
    gap: 0.5rem;
  }

  .site-header__logo-img {
    max-height: 36px;
  }

}

/* ── Desktop large (≥ 1400px) ── */
@media (min-width: 1400px) {
  :root {
    --sh-height: 88px;
    --sh-padding-x: 3rem;
  }
}


/* ================================================================
   11. MENU — Itens dummy (Showroom, Parceiros)
   ─────────────────────────────────────────────────────────────
   Itens com href="#" têm cursor diferente e opacidade reduzida
   para indicar que ainda não têm página.
   ================================================================ */

.site-header__nav-wrapper #menu .nav-item--dummy > .nav-link--dummy {
  opacity:          0.55;
  cursor:           default;
  pointer-events:   none;   /* bloqueia clique e hover */
}

/* Em mobile o item dummy é menos proeminente */
@media (max-width: 991.98px) {
  .site-header__nav-wrapper #menu .nav-item--dummy > .nav-link--dummy {
    opacity: 0.4;
  }
}


/* ================================================================
   FIM — bigpires-header.css
   ================================================================ */
