/* NOVO HEADER */

/* ===== HEADER SUPERIOR ===== */
.top-header {
  background: linear-gradient(135deg, #081A2E 0%, #0d2a4d 100%);
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
  position:relative;
  z-index:999;
}

.top-header {
  width: 100%;
}

.top-header-content {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* PROMO — central absoluto */
.promo-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  pointer-events: none; /* evita conflito com cliques */
}

/* ANIMAÇÃO */
#promo-message {
  display: inline-block;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.promo-out {
  transform: translateY(-100%);
  opacity: 0;
}

.promo-in {
  transform: translateY(100%);
  opacity: 0;
}

/* ACTIONS — canto direito */
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-actions .form-select {
  font-size: 0.85rem;
  padding: 0.25rem 2rem 0.25rem 0.5rem;
  cursor: pointer;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.header-actions .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(8, 26, 46, 0.25);
}

.header-actions .form-select option {
  background: #081A2E;
  color: white;
}

#navbar-site2{
  border-top:1px solid #d3d7dbc2;
  border-bottom:1px solid  #d3d7dbc2;
}

/* ===== HEADER PRINCIPAL ===== */
.main-header {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  top: 0;
  position:relative;
  z-index: 980;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px;
}

/* Menu Mobile */
.mobile-menu-btn {
  background: transparent;
  border: none;
  color: #333333;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  color: #081A2E;
}

/* Logo */
.logo-container {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.logo {
  transition: all 0.3s ease;
  max-width: 100%;
  height: auto;
  width: 220px; /* Reduzido de 252px para 220px */
}

.logo:hover {
  transform: scale(1.05);
}

/* Barra de Pesquisa Moderna */
.search-container-modern {
  flex: 1;
  max-width: 600px;
  margin: 0 40px;
  position: relative;
}

.search-wrapper {
  position: relative;
  background: #f5f5f5;
  border-radius: 50px;
  padding: 4px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.search-wrapper:focus-within {
  background: #ffffff;
  border-color: #081A2E;
  box-shadow: 0 0 0 3px rgba(8, 26, 46, 0.1);
}

.search-input-modern {
  width: 100%;
  padding: 14px 50px 14px 20px;
  background: transparent;
  border: none;
  color: #333333;
  font-size: 1rem;
  outline: none;
}

.search-input-modern::placeholder {
  color: #888888;
}

.search-button-modern {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #081A2E;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-button-modern:hover {
  transform: translateY(-50%) scale(1.1);
  background: #0d2a4d;
  box-shadow: 0 4px 12px rgba(8, 26, 46, 0.4);
}

/* Ações do Usuário */
.user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.action-btn {
  position: relative;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.action-btn:hover {
  background: #081A2E;
  border-color: #081A2E;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 26, 46, 0.2);
}

/* Dropdown do usuário */
.action-btn.dropdown-toggle::after {
  display: none;
}

.user-actions .dropdown-menu {
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  min-width: 220px;
}

.user-actions .dropdown-item {
  padding: 10px 15px;
  color: #333333;
  transition: all 0.2s ease;
}

.user-actions .dropdown-item:hover {
  background: #f8f9fa;
  color: #081A2E;
}

.user-actions .dropdown-item ion-icon {
  color: #081A2E;
}

.action-badge {
  position: absolute;
  top: -5px;
  right: -9px;
  background: #ff6b6b;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 2px solid #ffffff;
  padding: 10px;
}

/* Carrinho específico */
.action-btn[href*="checkout"]:hover .action-badge {
  background: white;
  color: #081A2E;
}

/* Seção do usuário logado */
.user-logged-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.welcome-text {
  font-size: 1.0rem;
  font-weight: 600;
  color: #333333;
  white-space: nowrap;
}

/* Avatar do usuário com iniciais */
.user-avatar {
  position: relative;
  background: #081A2E;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 1rem;
  padding: 0;
}

.user-avatar:hover {
  background: #0d2a4d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 26, 46, 0.4);
}

.user-avatar.dropdown-toggle::after {
  display: none;
}

.avatar-initials {
  display: block;
  line-height: 1;
}

/* Indicador de chevron */
.chevron-indicator {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background:white;
  color:#081A2E;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  line-height: 1;
}

/* Seção de login para usuários não logados */
.login-section {
  display: flex;
  align-items: center;
}

.login-text {
  display: flex;
  flex-direction: row;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: nowrap;
}

.sign-in-link, .register-link {
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  padding: 2px 0;
}

.sign-in-link:hover, .register-link:hover {
  color: #081A2E;
}

.divider {
  color: #888888;
  margin: 0 5px;
  font-weight: normal;
}

/* Botão de login para mobile */
.mobile-login-btn {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0;
}

.mobile-login-btn:hover {
  background: #081A2E;
  border-color: #081A2E;
  color: white;
}

/* Header do dropdown do usuário */
.dropdown-header {
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.dropdown-header small {
  color: #888888;
  font-size: 0.75rem;
}

.dropdown-header strong {
  color: #333333;
  font-size: 0.95rem;
  display: block;
  margin-top: 2px;
}

/* Ajuste para os itens do dropdown */
.user-actions .dropdown-menu {
  min-width: 250px;
}

.user-actions .dropdown-item {
  padding: 10px 15px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .header-content {
    max-width: 100%;
    padding: 15px;
  }
  
  .logo {
    width: 200px; /* Reduzido para desktop também */
  }
}

@media (max-width: 992px) {
  .header-content {
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
  }
  
  .mobile-menu-btn {
    display: flex !important;
    order: 1;
    margin-right: 10px;
  }
  
  .logo-container {
    order: 2;
    flex: 1;
    justify-content: flex-start;
    padding-left: 0;
  }
  
  .user-actions {
    order: 3;
    margin-left: 0;
  }
  
  .search-container-modern {
    order: 4;
    margin: 0;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
    margin-top: 10px;
  }
  
  .search-wrapper {
    border-radius: 12px;
  }
  
  /* Ajustes para user logged section em tablet */
  .welcome-text {
    display: none;
  }
  
  .user-logged-section {
    gap: 0;
  }
  
  .logo {
    width: 180px;
  }
}

@media (min-width: 993px) {
  .mobile-menu-btn {
    display: none !important;
  }
  
  .logo-container {
    justify-content: flex-start;
    /* flex: 0; */
  }
}

@media (max-width: 768px) {
  .top-header {
    display: none;
  }
  
  .header-content {
    padding: 10px 15px;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }
  
  .logo {
    width: 160px; /* Reduzido para mobile */
    max-width: 160px;
  }
  
  .search-container-modern {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 10px 15px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 970;
    display: none; /* Inicialmente escondido */
  }
  
  .search-container-modern.active {
    display: block;
  }
  
  .search-input-modern {
    padding: 12px 50px 12px 20px;
    font-size: 0.95rem;
  }
  
  .search-button-modern {
    width: 36px;
    height: 36px;
  }
  
  /* Ajustes para login section em mobile */
  .login-text {
    display: none;
  }
  
  .mobile-login-btn {
    display: flex !important;
  }
  
  .login-section {
    gap: 0;
  }
  
  /* Ajustes para user logged section em mobile */
  .welcome-text {
    display: none;
  }
  
  /* Reorganização para mobile */
  .mobile-menu-btn {
    order: 1;
    margin-right: 10px;
    flex-shrink: 0;
  }
  
  .logo-container {
    order: 2;
    flex: 1;
    justify-content: center;
    margin: 0 auto;
  }
  
  .user-actions {
    order: 3;
    margin-left: auto;
    flex-shrink: 0;
  }
  
  .action-badge {
    right: -3px; /* Ajuste adicional para mobile */
  }
}

@media (min-width: 769px) {
  .mobile-login-btn {
    display: none !important;
  }
  
  .login-text {
    display: flex;
  }
  
  .welcome-text {
    margin-right:10px;
    display: block;
  }
  /* IMPORTANT */

  /* .search-container-modern{
    display:none;
  }

  .search-wrapper{
    display:none;
  }

#navbar-site2{
  display:none;
} */

}

@media (max-width: 576px) {
  .header-content {
    padding: 8px 10px;
    gap: 8px;
  }
  
  .user-actions {
    gap: 8px;
  }
  
  .action-btn {
    width: 40px;
    height: 40px;
  }
  
  .logo {
    width: 140px; /* Reduzido ainda mais para telas muito pequenas */
    max-width: 140px;
  }
  
  .search-input-modern {
    padding: 10px 45px 10px 15px;
    font-size: 0.9rem;
  }
  
  .search-button-modern {
    width: 32px;
    height: 32px;
  }
  
  .action-badge {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    right: -2px;
  }
  
  .user-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  
  .chevron-indicator {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
    bottom: -4px;
    right: -4px;
  }
  
  .mobile-login-btn {
    width: 36px;
    height: 36px;
  }
  
  .mobile-menu-btn {
    font-size: 1.3rem;
    padding: 6px;
  }
}

/* Ajuste para o select de idioma no top-header */
@media (max-width: 768px) {
  .top-header-content {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }
  
  .promo-text {
    font-size: 0.8rem;
  }
}

/* NOVO HEADER */

#navbar-site-mobile{
  display:none;
  z-index:999;
}

/* Submenu lateral com hover */
.submenu-hover:hover > .dropdown-menu {
  display: block;
  top: 0;
  left: 100%;
  margin-top: -1px;
}

/* Remove o ícone padrão do Bootstrap dos links com dropdown */
.navbar-nav .dropdown-toggle::after {
  content: none;
}

/* Dropdown principal ao passar mouse */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0; /* remove gap que o bootstrap usa para animação */
}

/* Dropdown submenu lateral (já tinha) */
.submenu-hover:hover > .dropdown-menu {
  display: block;
  top: 0;
  left: 100%;
  margin-top: -1px;
}

/* Dropdown base sem borda arredondada */
.dropdown-menu {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0; /* <-- REMOVIDO */
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.1);
  padding: 0;
  min-width: 220px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  z-index: 1050;
}

/* Mostrar dropdown no hover */
.nav-item.dropdown:hover > .dropdown-menu,
.submenu-hover:hover > .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Itens do menu */
.dropdown-menu .dropdown-item {
  color: #333;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.25s ease, color 0.25s ease;
  border-left: 4px solid transparent;
}

/* Hover e foco nos itens */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #f0f0f0;
  /* color: #0d6efd; */
  /* border-left-color: #0d6efd; */
  border-left-color: #8A282D; /* cor primária */
  text-decoration: none;
}

/* Ícones nos toggles */
.dropdown-toggle > i.bi {
  font-size: 1rem;
  margin-left: 0.5rem;
  color: #888;
  transition: transform 0.3s ease, color 0.3s ease;
  vertical-align: middle;
}

/* Ícone muda cor e gira no hover do pai
.submenu-hover:hover > a.dropdown-toggle > i.bi,
.nav-item.dropdown:hover > a.dropdown-toggle > i.bi {
  color: #0d6efd;
  transform: rotate(90deg);
} */

/* Submenu lateral também sem borda arredondada */
.submenu-hover > .dropdown-menu {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0; /* <-- REMOVIDO */
  box-shadow: 4px 8px 20px rgb(0 0 0 / 0.1);
  min-width: 180px;
  top: 0;
  left: 100%;
  margin-top: -1px;
  padding: 0;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.submenu-hover:hover > .dropdown-menu {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Itens submenu com padding extra */
.submenu-hover .dropdown-item {
  padding-left: 1.8rem;
}

/* Navbar com fundo branco e sombra leve */
.navbar.bg-white {
  background-color: #fff !important;
  /* box-shadow: 0 2px 8px rgb(0 0 0 / 0.1); */
}

/* Links do menu principal */
.navbar-nav .nav-link {
  color: #444;
  font-weight: 600;
  transition: color 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  /* color: #0d6efd; */
}

/* Botão toggler */
.navbar-toggler {
  border: 1px solid #ccc;
  background-color: transparent;
  color: #444;
}

/* Ícone toggler */
.navbar-toggler-icon {
  filter: invert(0.4);
}

/* Negative Margin Top */
.mt-n0 { margin-top: 0 !important; }
.mt-n1 { margin-top: -0.25rem !important; }
.mt-n2 { margin-top: -0.5rem !important; }
.mt-n3 { margin-top: -1rem !important; }
.mt-n4 { margin-top: -1.5rem !important; }
.mt-n5 { margin-top: -3rem !important; }

/* LOGIN */

.btn-outline-dark:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Allow Bootstrap click-open dropdowns to display */
.dropdown-menu.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 2050; /* garante que fique acima de outros elementos */
}

/* GOOGLE */

.btn-google {
    background: #fff;
    color: #5f6368;
    border: 1px solid #dadce0;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    width: 100%;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #c6c9ce;
}

/* Remove a seta padrão do Bootstrap apenas neste dropdown */
#navbar-site .dropdown-toggle::after {
    display:none;
}

.user-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}


@media (max-width: 768px) {

#navbar-site-mobile{
  display:block;
}

#navbar-site, #navbar-site2{
  display:none;
}

.navbar-brand img{
  left:5%;
  width:200px;
}

.navbar-toggler-icon {
  filter: invert(0);
}

.navbar-toggler{
  border:0;
  margin-right: -20px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}


}


/* ######################################### NOVO MENU ######################################### */

/* Navbar Geral */
.navbar-nav {
  display: flex;
  width: 100%;
}

/* Navbar items gerais */
.navbar-nav .nav-item {
  height: 100%;
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* borda direita continua funcionando */
}

/* Borda direita para todos exceto último */
.navbar-nav .nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  height: 50%;
  width: 1px;
  background-color: #e0e0e0;
  z-index: 2;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #000;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  width: 100%;
  position: relative; /* para ::before animado */
  transition: color 0.3s;
}

/* Hover Border-Bottom animado */
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #2a75bb;
  transition: width 0.3s;
  z-index: 2;
}

.navbar-nav .nav-link:hover::before,
.nav-item.dropdown:hover > .nav-link::before {
  width: 100%;
}

.navbar-nav .nav-link:hover,
.nav-item.dropdown:hover > .nav-link {
  color: #2a75bb;
}

/* Remove caret padrão do Bootstrap */
.nav-item.dropdown .dropdown-toggle::after {
  display: none;
}

/* Container para o dropdown com posicionamento relativo */
.nav-item.dropdown {
  position: static; /* Mantemos relative para as bordas funcionarem */
}

/* Megamenu full width */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%; /* ocupa largura do navbar */
  padding: 2rem 0;
  background: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Mostrar no hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Container interno só para alinhar conteúdo */
.dropdown-menu .container {
  max-width: 1140px;  /* largura máxima */
  margin: 0 auto;     /* centraliza horizontalmente */
  padding-left: 15px;  /* padding igual ao bootstrap */
  padding-right: 15px;
}

/* Colunas do Megamenu */
.dropdown-menu .col {
  margin-bottom: 1rem;
}

.dropdown-menu h6 {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.dropdown-menu .list-unstyled {
  margin-bottom: 0;
}

.dropdown-menu .list-unstyled li {
  margin-bottom: 0.5rem;
}

.dropdown-menu .list-unstyled li a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.dropdown-menu .list-unstyled li a:hover {
  color: #2a75bb;
}

/* NORMALIZE DROPDOWN SHOP */

/* Borda direita normal, exceto dropdown */
.navbar-nav .nav-item:not(:last-child):not(.dropdown)::after {
  content: '';
  position: absolute;
  top: 25%;       /* 25% do topo */
  right: 0;
  height: 50%;    /* 50% da altura */
  width: 1px;
  background-color: #e0e0e0;
  z-index: 2;
}

/* Borda esquerda do próximo item após dropdown */
.nav-item.dropdown + .nav-item::before {
  content: '';
  position: absolute;
  top: 25%;       /* 25% do topo */
  left: 0;        /* borda na esquerda */
  height: 50%;    /* 50% da altura */
  width: 1px;
  background-color: #e0e0e0;
  z-index: 2;
}

/* Subcolunas Figures & Pins */
.megamenu-subcol {
  display: flex;
  gap: 2rem;
}

/* ESTILOS PERSONALIZADOS PARA O SEARCH */
.search-container {
  position: relative;
  display: flex;
  flex-grow: 1;
  margin-right: 1rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.95rem;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-input:focus {
  outline: none;
  border-color: #2a75bb;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(42, 117, 187, 0.15);
}

.search-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #1C2A3C;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.search-button:hover {
  background: #1c5a9c;
  transform: translateY(-50%) scale(1.05);
}

.search-button:active {
  transform: translateY(-50%) scale(0.95);
}

.container-megamenu{
    width:80%;
    margin:0 auto;
}

/* Oculta a setinha (caret) do dropdown */
.dropdown-toggle::after {
  display: none !important;
}

/* === OVERLAY FIXO === */
#megamenu-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
  z-index: 908; /* entre conteúdo e .dropdown-menu (1001) */
  pointer-events: none;
}

/* quando ativo */
#megamenu-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* pequenas melhorias responsivas para o megamenu */
@media (max-width: 991px) {
  /* em mobile, não queremos overlay por hover — deixa o controle do Bootstrap */
  #megamenu-overlay { display: none; }
}

.megamenu-image {
  position: relative;
}

.overlay-title {
  position: absolute;
  top: 15%; /* ajusta a altura do texto sobre a imagem */
  left: 50%;
  transform: translateX(-50%);
  color: #fff; /* cor do texto, branco para contrastar */
  font-weight: bold;
  font-size: 1.2rem;
  /* text-shadow: 1px 1px 4px rgba(0,0,0,0.7); */
  z-index: 2;
  width: 90%; /* evita que quebre fora da imagem */
}

/* ######################################### NOVO MENU ######################################### */

/* Estilos do Offcanvas Menu */
.offcanvas {
  width: 320px !important;
}

.offcanvas-header {
  padding: 1rem 1.25rem;
}

.offcanvas-logo img {
  max-width: 180px;
  height: auto;
}

/* Estilos da busca mobile */
.search-form-mobile .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input-mobile {
  border: 1px solid #e0e0e0;
  border-right: none;
  padding: 0.75rem 1rem;
}

.search-input-mobile:focus {
  box-shadow: none;
  border-color: #081A2E;
}

.search-btn-mobile {
  background: #081A2E;
  border: 1px solid #081A2E;
  padding: 0.75rem 1.25rem;
}

.search-btn-mobile:hover {
  background: #0d2a4d;
  border-color: #0d2a4d;
}

/* Estilos do usuário mobile */
.user-avatar-mobile {
  width: 50px;
  height: 50px;
  background: #081A2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.user-links .btn {
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.9rem;
}

/* Estilos do seletor de idioma */
.lang-option {
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
  background: #f8f9fa;
}

.lang-option:hover {
  background: #ffffff;
  border-color: #081A2E;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(8, 26, 46, 0.1);
}

/* Navegação */
.offcanvas-navigation .nav-link {
  padding: 1rem 1.25rem;
  color: #333333;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.offcanvas-navigation .nav-link:hover {
  background: #f8f9fa;
  color: #081A2E;
}

.offcanvas-navigation .nav-link i:last-child {
  transition: transform 0.3s ease;
}

.offcanvas-navigation .nav-link[aria-expanded="true"] i:last-child {
  transform: rotate(180deg);
}

/* Submenus (collapse) */
.collapse .bg-light {
  background: #f8f9fa !important;
  border-radius: 8px;
  margin: 0.5rem 1rem;
}

.collapse h6 {
  color: #081A2E;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.collapse a {
  color: #555555;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eaeaea00;
}

.collapse a:last-child {
  border-bottom: none;
}

.collapse a:hover {
  color: #081A2E;
  /* padding-left: 5px; */
}

/* Form de rastreamento */
.tracking-form .input-group {
  border-radius: 8px;
  overflow: hidden;
}

.tracking-form .form-control {
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
}

.tracking-form .btn {
  background: #081A2E;
  border: 1px solid #081A2E;
  padding: 0.75rem 1.25rem;
}

/* Badges */
.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  min-width: 24px;
}

/* Footer do offcanvas */
.offcanvas-footer {
  background: #f8f9fa;
}

.offcanvas-footer .contact-info li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.offcanvas-footer .social-links a {
  transition: color 0.2s ease;
}

.offcanvas-footer .social-links a:hover {
  color: #081A2E !important;
}

/* Responsividade */
@media (max-width: 576px) {
  .offcanvas {
    width: 280px !important;
  }
  
  .offcanvas-header {
    padding: 0.75rem 1rem;
  }
  
  .offcanvas-logo img {
    max-width: 150px;
  }
  
  .search-input-mobile {
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }
  
  .search-btn-mobile {
    padding: 0.6rem 1rem;
  }
  
  .offcanvas-navigation .nav-link {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
}

/* Estilos para o botão do Google */
.btn-google {
  background-color: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-google:hover {
  background-color: #f8f9fa;
  border-color: #d2e3fc;
  box-shadow: 0 1px 3px 1px rgba(66, 133, 244, 0.15);
}

.btn-google:active {
  background-color: #f1f3f4;
}

.btn-google:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Estilos para o alerta */
#googleAlertModal {
  margin-bottom: 1rem;
}

/* Spinner posicionado à direita do botão */
#googleSpinnerModal {
  width: 1rem;
  height: 1rem;
  margin-left: 8px;
}

.payment-footer{
  background:#F2F5F8;
  border-top:1px solid #DEE2E6;
}

.custom-border-dropdown{
  border-top:1px solid #DEE2E6;
}

/* ====== SPOTLIGHT LIGHT MODE ====== */
#spotlight-content {
    color: #495057;
    padding: 1rem;
}

/* Título da seção */
#spotlight-content h5 {
    color: #0B233F;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Subtítulos das colunas */
#spotlight-content h6 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* ===== COLUNA 1: MAIN HIGHLIGHT ===== */
#spotlight-content .col-lg-4:first-child .card {
    background-color: #1e2533;
    border: 1px solid #3a4255;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#spotlight-content .col-lg-4:first-child .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    border-color: #5a7bb0;
}

#spotlight-content .col-lg-4:first-child .card img {
    border-radius: 8px;
    object-fit: contain;
    max-height: 200px;
    width: 100%;
    transition: all 0.3s ease;
}

#spotlight-content .col-lg-4:first-child .card img:hover {
    transform: scale(1.03);
    filter: brightness(1);
}

#spotlight-content .col-lg-4:first-child .card-title {
    color: #081A2E;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

/* ===== COLUNA 2: WEEKLY PICKS ===== */
#spotlight-content .col-lg-4:nth-child(2) .d-flex.flex-column > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding:10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-bottom: 1px solid #e9edf3;
}

#spotlight-content .col-lg-4:nth-child(2) .d-flex.flex-column > div:hover {
    border-radius: 6px;
    background-color: rgba(11, 35, 63, 0.05);
    transform: translateX(2px);
}

#spotlight-content .col-lg-4:nth-child(2) img {
    border-radius: 6px;
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#spotlight-content .col-lg-4:nth-child(2) a.text-dark h6 {
    font-size: 0.95rem;
    color: #0B233F;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

#spotlight-content .col-lg-4:nth-child(2) a.text-dark:hover h6 {
    color: #0B233F;
    opacity: 0.7;
}

/* Preços e estrelas na Weekly Picks */
#spotlight-content .col-lg-4:nth-child(2) .text-primary {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0B233F !important;
}

#spotlight-content .col-lg-4:nth-child(2) .text-warning {
    font-size: 0.85rem;
}

/* ===== COLUNA 3: MOST VIEWED ===== */
#spotlight-content .col-lg-4:last-child .list-group-item {
    background-color: transparent;
    border: 0;
    color: #495057;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 6px;
}

#spotlight-content .col-lg-4:last-child .list-group-item:hover {
    background-color: rgba(11, 35, 63, 0.05);
}

#spotlight-content .col-lg-4:last-child .list-group-item img {
    border-radius: 6px;
    object-fit: contain;
    width: 40px;
    height: 40px;
}

/* Link "View All" */
#spotlight-content .btn-outline-primary {
    color: #0B233F;
    border-color: #0B233F;
    border: 1px solid #0B233F;
    transition: all 0.3s ease;
}

#spotlight-content .btn-outline-primary:hover {
    background-color: #0B233F;
    color: #ffffff;
    border-color: #0B233F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11,35,63,0.15);
}

/* Links dentro do card */
#spotlight-content a.text-dark {
    color: #0B233F;
    transition: color 0.3s ease;
}

#spotlight-content a.text-dark:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 992px) {
    #spotlight-content .col-lg-4 {
        margin-bottom: 1.5rem;
    }
}

.support-menu{
  background-size:contain;
}

/* MEGAMENU */

.element-list {
  list-style: none;
  padding-left: 0;
}
.element-list li {
  margin-bottom: 8px;
}
.element-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}
.element-list li a:hover {
  color: #000;
  text-decoration: underline;
}
.element-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hover na imagem + texto usando o link .hover-block */
.megamenu-image .hover-block {
  display: block;
  text-decoration: none;
  color: inherit;
}
.megamenu-image .image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.megamenu-image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.megamenu-image .hover-block:hover .image-overlay {
  opacity: 1;
}
.more-info {
  background: #ffd700;
  color: #000;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  margin-top:25px;
}
.more-info ion-icon {
  font-size: 1.1rem;
}
.overlay-title {
    color: #ffffff;
    font-size: 1.25rem;
    padding-top: 20px;
    line-height: 1.2;
}

/* Ajustes no dropdown do Support */
.support-menu {
  min-width: 700px !important;
}
.support-menu ul li a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2;
}
.support-menu ul li a:hover {
  color: #000;
  text-decoration: underline;
}