:root {
  --laranja-shopee: #ee4d2d;
  --fundo: #f5f5f5;
  --branco: #ffffff;
  --verde: #27ae60;
  --sombra: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--fundo);
  color: #333;
}

header {
  background-color: var(--laranja-shopee);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px var(--sombra);
}

.menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  margin-right: 15px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: var(--branco);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 999;
}

.sidebar.active {
  left: 0;
}

.sidebar h2 {
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 15px;
  font-size: 18px;
  cursor: pointer;
  color: var(--laranja-shopee);
  transition: background 0.2s;
  padding: 6px 10px;
  border-radius: 5px;
}

.sidebar ul li:hover {
  background-color: #ffe8e2;
}

.sidebar ul li.ativo {
  background-color: var(--laranja-shopee);
  color: white;
}

header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  margin-left: 10px;
}

header h1 {
  font-size: 1.8rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding: 30px;
  max-width: 1000px;
  margin: auto;
}

.card {
  background-color: var(--branco);
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px var(--sombra);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--sombra);
}

.card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
}

.info {
  padding: 15px;
  text-align: center;
}

.nome {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    padding: 15px;
  }

  header h1 {
    font-size: 1.4rem;
  }

  .card img {
    height: 180px;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }
}
