/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 60px;
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}
main {
  padding: 2rem;
  padding-top: 10px;
}

h1 {
  font-size: 2.5rem;
  color: #222;
  text-align: center;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  color: #444;
  text-align: center;
  margin: 2rem 0 1rem;
}
/* HEADER */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: opacity 0.3s ease;

}
.header-scrolled {
  opacity: 0.5;
  background-color: rgba(255, 255, 255, 0.635);
}

.logo-container img {
  width: 50px;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff4b5c;
}

.header-aux-container {
  display: flex;
  align-items: center;
}

.products-container{
  width: 50px;
  height: 50px;
  cursor: pointer;
  position: relative;
  }
.products-container img{
  width: 100%;
  height: 100%;
}
#products-count{
  display: inline-block;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #f6647380;
  border-radius: 50%;
  padding: 5px;
  width: 20px;
  height: 20px;
  font-size: 0.8rem;
  text-align: center;
}


.burger-btn {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* FOOTER */
footer {
  background-color: #222;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

footer ul {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

footer ul li img {
  width: 30px;
  transition: transform 0.3s;
}

footer ul li img:hover {
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    z-index: 20;
  }

  nav ul.active {
    right: 0;
  }

  .burger-btn {
    display: block;
    position: relative;
    z-index: 30;
  }

  .products-container{
    width: 50px;
    height: 50px;
  }
  .products-container img{
    width: 100%;
    height: 100%;
  }
  .header-aux-container{
    gap: 10px;
  }

}