/* h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', sans-serif;
  font-family: 'Poppins', sans-serif;  
} */
body,
html {
  overflow-x: hidden;
}

/*TOPO CAROUSEL*/
/* .slick-prev, .slick-next {
  top: 30%;
} */
/*TOPO CAROUSEL*/

/*HEADER*/
.navbar-nav .nav-item {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 0;
}

.nav-item.dropdown:hover .mega-menu {
  display: block;
}

.mega-menu h6 {
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  padding-left: 0;
}

.mega-menu a {
  color: #555;
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.2s ease-in-out;
}

.mega-menu a:hover {
  color: #007bff;
  /* Cor do link no hover */
  text-decoration: underline;
}

.mega-menu ul ul {
  list-style: none;
  padding-left: 15px;
  margin-top: 5px;
}

@media (max-width: 991.98px) {
  .mega-menu {
    position: static;
    width: auto;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  /* Ajusta as colunas para empilharem */
  .mega-menu .col-md-4 {
    margin-bottom: 1rem;
  }
}
/*HEADER*/

.bg-color-primary {
  background: #4a5460;
}

.bg-color-secundary {
  background-color: #f3f3f3;
}

.text-color-primary {
  color: #4a5460;
}

.text-color-secundary {
  color: #f3f3f3;
}

p {
  margin-bottom: 0;
}

.pad-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.slick-prev {
  left: 0px;
}

.slick-next {
  right: 0px;
}

/* HOME CATEGORIAS*/
.home-categorias .slick-prev:before,
.home-categorias .slick-next:before {
  color: #4a5460;
}

.img-home-categorias {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.text-home-categorias {
  font-size: 1.5rem;
  font-weight: 400;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.text-home-categorias:hover {
  color: #0056b3;
}
/* HOME CATEGORIAS*/

/* HOME MARCAS*/
.home-marcas {
  max-width: 100%;
  border-radius: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-marcas:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* HOME MARCAS*/

/* HOME MOSAICO*/
.filtros {
  text-align: center;
  margin-bottom: 1.5rem;
}

.filtro-btn {
  background-color: #f3f3f3;
  border: none;
  padding: 0.6rem 1.2rem;
  margin: 0.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filtro-btn.active,
.filtro-btn:hover {
  background-color: #4a5460;
  color: #fff;
}

.produtos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.produto-item {
  width: 200px;
  text-align: center;
  transition: transform 0.3s;
}

.produto-item img {
  max-width: 100%;
  border-radius: 10px;
}
/* HOME MOSAICO*/

/* HOME LANÇAMENTOS*/
/* Título principal da seção */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #4a5460;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  text-align: right;
  padding-right: 5rem;
}

/* Linha decorativa alinhada à direita */
.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #4a5460, #fff);
  margin-top: 0.5rem;
  margin-left: auto;
  border-radius: 2px;
}

.bloco-lancamentos {
  position: relative;
  border: solid #f3f3f3 5px;
  border-radius: 2rem;
  padding: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 30%;
}

.bloco-lancamentos p {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  padding: 5px 10px;
  font-weight: bold;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

/* Canto virando estilo "orelha de página" */
.bloco-lancamentos::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 50px solid #4a5460;
  border-left: 50px solid transparent;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Texto "R$" dentro da dobra */
.bloco-lancamentos::before {
  content: "R$";
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-weight: bold;
  color: #fff;
  font-size: 12px;
  z-index: 3;
  transform: rotate(-45deg);
  pointer-events: none;
  /* opacity: 0.6; */
  transition: transform 0.3s ease;
}

/* Hover abre a dobra e mostra o preço */
.bloco-lancamentos:hover::after {
  border-bottom: 70px solid #4a5460;
  border-left: 70px solid transparent;
}

.bloco-lancamentos:hover p {
  opacity: 1;
}

.bloco-lancamentos:hover::before {
  transform: rotate(-30deg) scale(1.1);
  opacity: 1;
}

.img-lancamentos {
  max-width: 150px;
  border-radius: 2rem;
  float: left;
  padding-right: 1rem;
}

.titulo-lancamentos {
  font-weight: 100;
  font-size: 1rem;
}

.categoria-lancamentos {
  font-size: small;
}
/* HOME LANÇAMENTOS*/

.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: var(--bs-breadcrumb-divider, ">");
  color: #fff;
}

.breadcrumb-link {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}

.filtrar-por {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #4a5460;
}

.accordion {
  --bs-accordion-active-color: #fff;
  --bs-accordion-active-bg: #4a5460;
}

.accordion-item {
  border: none;
  border-bottom: solid #4a5460 1px;
  margin-bottom: 1rem;
}

/*PRODUTO DE CATEGORIA*/
.card-produto {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-produto:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.img-container {
  overflow: hidden;
  border-radius: 10px;
}

.img-produto {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.card-produto:hover .img-produto {
  transform: scale(1.1);
}

.categoria-produto {
  font-size: 0.9rem;
  color: #888;
  margin-top: 15px;
  margin-bottom: 5px;
}

.nome-produto {
  font-size: 1.1rem;
  color: #4a5460;
  margin-bottom: 10px;
  min-height: 3rem;
}

.preco-produto {
  font-size: 1.5rem;
  color: #4a5460;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn-comprar {
  background: #4a5460;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-comprar:hover {
  background: #333b47;
}

.vendido-por {
  margin-top: 10px;
}

.vendido-por a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.vendido-por span {
  font-size: 0.85rem;
  color: #111;
  margin-right: 5px;
}

.logo-amazon {
  width: 90px;
  height: auto;
  padding-top: 0.5rem;
}
/*PRODUTO DE CATEGORIA*/

/*PRODUTO*/
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
  color: #4a5460;
}
.zoom-effect:hover {
  transform: scale(1.05);
}

.btn-comprar {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4a5460, #2e3440);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-comprar:hover {
  background: linear-gradient(135deg, #5c6673, #3a404c);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-comprar:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
/*PRODUTO*/

/* CLASSES MOBILE */
@media screen and (max-width: 767px) {
  .mobile-hide {
    display: none !important;
  }
  .bloco-lancamentos {
    width: 45%;
  }
}

/* COOKIES */
.cookies-cdb {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #4a5460;
  background-image: linear-gradient(to right, #111, #4a5460);
  color: #fff;
  padding: 1rem;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

#accept-cookies {
  text-decoration: none;
  background: linear-gradient(45deg, #111, #fff);
  background-size: 300%;
  color: #fff;
  padding: 0.3rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
  transition: background-position 0.5s, color 0.5s, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

#accept-cookies:hover {
  background-position: 100%;
  color: #111;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}
/* COOKIES */
