@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Maven+Pro:wght@400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap');
*{
  box-sizing: border-box;
  

}
/* ====== GERAL ====== */
body {
	background: #f7f7f7;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: "Poppins", sans-serif;
  overflow-y: auto;
  overflow-x: hidden;


}
.area-conteudo {
  max-width: 1400px;
}
nav {
  display: flex;
  align-items: center;   /* eixo vertical único */
  width: 100%;
}

@media (max-width: 768px) {
  .nav {
    overflow: visible !important;
    position: relative;
    z-index: 9999;
  }
  
}




/*topo do nav*/

/*LOGO MOBILE*/
.logo-mobile {
    display: none;
    width: 100%;
    justify-content: center;
    padding: 0px 10px;
}

.logomobi {
    height: 40px;
    width: auto;
}






/* MOBILE */
@media (max-width: 768px) {
    .logo-mobile {
        position: absolute;   /* 🔥 tira do fluxo */
        left: 50%;            /* vai pro meio da tela */
        transform: translateX(-60%); /* centraliza de verdade */

        display: flex;
        justify-content: center;
        align-items: center;
        
        
    }



    .btnmenu{
      z-index: 10;
    }
    .linhaanimada{
      z-index: 9989;

    }
}


/* ====== MENU====== */
@media (max-width: 768px) {
  .menu-dropdown {
    z-index: 99999 !important;
    background: #fff !important;
  }
}

@media (max-width: 768px) {
  /* menu principal (caixa branca) */

 
  .menu-dropdown {
        
    position: absolute !important;
    top: 48px !important;                    /* ajuste fino */
    left: 8px !important;                    /* não encostar na borda */
    width: auto !important;                  /* largura automática conforme texto */
    min-width: max-content !important;       /* mínimo baseado no conteúdo */
    max-width: calc(100% - 16px) !important; /* evita ultrapassar a tela */
    box-sizing: border-box !important;
    padding: 8px !important;
    border-radius: 8px !important;
      z-index: 1000 !important;
  }

  /* lista dentro do menu */
  .menu-dropdown ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
      z-index: 1000 !important;
  }

  .menu-dropdown ul li {
    white-space: nowrap !important;          /* não quebra as palavras */
    display: block !important;
      z-index: 99999 !important;
  }

  .menu-dropdown ul li a {
    display: block !important;
    padding: 10px 14px !important;
    font-size: 16px !important;
    color: #677179 !important;
    text-decoration: none !important;
      z-index: 1000 !important;
  }

  /* submenu (coluna à direita) */
  .menu-dropdown ul li .submenu {
    display: none !important;                
    position: absolute !important;
    top: 0 !important;
    left: calc(100% + 12px) !important;                  
    width: auto !important;
    min-width: max-content !important;
    max-width: calc(100% - 20px) !important;
    box-sizing: border-box !important;
    padding: 8px !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12) !important;
    z-index: 1000 !important;
  
  }

  /* mostra submenu quando o pai está ativo/hover */
  .menu-dropdown ul li:hover .submenu,
  .menu-dropdown ul li:focus-within .submenu {
    display: block !important;
  }

  /* garante que o texto do submenu também não quebre */
  .menu-dropdown ul li .submenu li {
    white-space: nowrap !important;
  }

  /* ajustes visuais menores */
  .menu-dropdown ul li + li { margin-top: 4px !important; }

  /* reduz tamanho do ícone/posicionamento se necessário */
  button.btnmenu { left: 8px !important; top: -5px !important; transform: none !important; }
}
@media (max-width: 768px) {

  /* trava o nav */
  nav {
    position: relative;
    height: 59px;
   
  }

  /* esconde textos */
  
  .minhaconta,
  .abrirLogin,
  .sacola {
    display: none !important;
  }

  /* =========================
     LUPA
  ========================= */

  .pesquisa{
   position: absolute;
   right: -55px;
    top: 50%;
    transform: translateY(-30%);

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;


  }
 .entrada {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btnlupa,
.btnsacola {
  position: static; /* padrão */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.btncontato{
  position: static; /* padrão */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;

}


  /* =========================
     LOGIN
  ========================= */
  .btncontato {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* =========================
     SACOLA
  ========================= */
  .btnsacola {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: none;
  }
}






/* ÁREA DO LOGIN DO USUÁRIO */
@media (max-width: 768px) {

  .painel {
    position: fixed;
    top: 0;
    left: 3%;

    width: 80vw;
    max-width: 320px;
    height: auto;

    background: #fff;
    padding: 32px 32px 32px 32px;
    z-index: 999;
    border-radius: 12px;

    /* ESCONDIDO FORA DA TELA */
    transform: translateX(-100%);
    opacity: 0;

    pointer-events: none;
    transition: transform .35s ease, opacity .3s ease;
  }

  .painel.ativo {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

}


/*CARROSSEL*/

/* carrossel MOBILE */
@media (max-width: 768px) {
  .swiper {
    height: auto; /* deixa a imagem controlar a altura */
    margin-top: 2px;
    
  }

  .swiper-slide {
    height: auto;
  }

  .swiper-slide picture,
  .swiper-slide img {
    width: 100%;
    height: auto;       /* evita corte da imagem */
    object-fit: contain; /* imagem completa */
    
  }
}


/*PROPAGANDA PIX E ENTREGA*/

/* 📱 CELULAR (até 576px) */
@media (max-width: 576px) {
    .imagem01 {
        width: 90%;          /* ocupa quase toda a tela */
        height: 40px;       /* menor altura */
        
    }

    .carrossel_pix {
        top: 10px;
    }
}

/* 📱📲 TABLET (577px até 992px) */
@media (min-width: 577px) and (max-width: 992px) {
    .imagem01 {
        width: 95%;
        height: 220px;
        
    }

    .carrossel_pix {
        top: -30px;
    }
}


/*CATALOGO CIRCULAR */

.cata {
    flex: 0 1 150px;        /* largura controlada */
    text-align: center;
}

/* MOBILE */
@media (max-width: 576px) {
    .cata {
        flex: 0 1 calc(33.333% - 16px); /* 3 por linha */
    }

    .imagem {
        width: 80px;
        height: 80px;
    }
}

/* TABLET */
@media (min-width: 577px) and (max-width: 992px) {
    .cata {
        flex: 0 1 calc(25% - 24px); /* 4 por linha */
    }
}




/*GRADE DE FOTOS RIAN*/

@media (max-width:768px){

.grid-scroll{
  width:100%;
  max-width:100%;
  margin:40px auto;
  padding:0 10px;
  overflow:hidden;
}

.grid-scroll-inner{
  display:flex;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  width:100%;
  scroll-behavior:smooth;
}

.item-roll{
  flex:0 0 250px; /* largura fixa */
  width:250px;
  height:350px;
}




::-webkit-scrollbar{
  display: none;
}
::-webkit-scrollbar-track{
 display: none;
}
::-webkit-scrollbar-thumb {
  display: none;
 
}
}




/*LOCAL DE VENDA GRADES*/
@media (max-width: 768px) {
    .titulo-sessao {
        font-size: 18px;
    }

    .ver-todos {
        font-size: 13px;
        position: relative;
        left: 10px;
    }
    
}

@media (max-width: 768px) {
    .grade-container {
        overflow: hidden;
    }

    .grade-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }
}


/* TABLET */
@media (max-width: 1024px) {
    .grade-container {
        padding: 16px;
    }
}

/* CELULAR */
@media (max-width: 768px) {
    .grade-container {
        padding: 10px;
    }

.grade-seta {
  display: none;
}
}





.busca-mobile-topo {
    display: none;
}

/* ================= BUSCA MOBILE (FORÇADO) ================= */
@media (max-width: 768px) {

  .busca-mobile-topo {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 64px !important;
    background: #fff !important;
    z-index: 999999 !important;

    transform: translateY(-100%);
    transition: transform .25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
  }

  .busca-mobile-topo.ativo {
    transform: translateY(0);
  }

  .busca-conteudo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    height: 100%;
  }

  .busca-conteudo input {
    flex: 1;
    height: 40px;
    border-radius: 25px;
    border: none;
    background: #f2f2f2;
    padding: 50px 15px;
    font-size: 14px;
    outline: none;
  }

  .fechar-busca {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
  }
}
