body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #FFF0F5;
  color: #333;
}

header {
  background-color: #F48D8F;
  padding: 1rem;
  text-align: center;
  color: black;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
  background-color: #F3999A;
  display: flex;
  justify-content: center;
  align-items: center; /* Alinha verticalmente */
  gap: 1rem;
  padding: 0.5rem;
  position: relative;
}


nav a, .menu-trigger {
  text-decoration: none;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s;
  display: flex;
  align-items: center; /* Centraliza o conteúdo do link */
  height: 100%;
}


nav a:hover {
  background-color: #f5a2a3;
}

.container {
  padding: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: auto;
}

.hidden {
  display: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input, button {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  background-color: #F3999A;
  color: black;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

button:hover {
  background-color: #f5a2a3;
}

.menu-dropdown {
  position: relative;
  display: flex;
  align-items: center; /* Garante alinhamento vertical */
}

.menu-dropdown .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f3999a;
  display: none;
  flex-direction: column;
  min-width: 160px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 10;
}

.menu-dropdown .submenu a {
  padding: 10px;
  text-align: left;
  white-space: nowrap;
  text-decoration: none;
  color: black;
  transition: background-color 0.3s;
}

.menu-dropdown .submenu a:hover {
  background-color: #f5a2a3;
}

.active{
  text-align: center;
}

.login-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 999;
}
.login-link a {
  text-decoration: none;
  color: black;
  background-color: #FFF0F5;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
}

    .produto {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .produto-info {
      width: 70%;
    }
    .produto-img {
      width: 30%;
      text-align: right;
    }
    .produto-img img {
      max-width: 100%;
      height: auto;
      border: 1px solid #ccc;
      border-radius: 8px;
    }

    .container-central {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* REDES SOCIAIS */
.rede-social,
.rede-social-menu {
  display: flex;
  align-items: center;
}

.rede-social {
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.rede-social-menu {
  gap: 10px;
  margin-left: 15px;
}

#img-rede-social,
#img-rede-social-menu {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#img-rede-social {
  width: 50px;
  margin: 10px;
  transform: translateY(-50%);
}

#img-rede-social:hover {
  transform: translateY(-50%) scale(1.2);
}

#img-rede-social-menu {
  width: 20px;
}

#img-rede-social-menu:hover {
  opacity: 0.7;
}

#img-qrcode {
  width: 150px;
}

/* Botão hamburger (escondido por padrão) */
.hamburger {
  display: none;
  flex-direction: column;
  width: 30px;
  margin: 10px;
  cursor: pointer;
  z-index: 1001;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1100; /* acima do menu */
}

.hamburger span {
  height: 3px;
  background: black;
  margin: 4px 0;
  border-radius: 2px;
}

/* Menu lateral móvel */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: #FFF0F5;
  box-shadow: -2px 0 10px rgba(0,0,0,0.3);
  padding: 20px;
  z-index: 1000;
  flex-direction: column;
}

.mobile-menu a {
  margin: 10px 0;
  color: black;
  text-decoration: none;
  background: #F3999A;
  padding: 10px;
  border-radius: 6px;
  display: block;
  transition: background-color 0.3s;
}

.mobile-menu a:hover {
  background-color: #f5a2a3;
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  nav {
    display: none !important;
  }
}

.table-container {
  width: 100%;
  overflow-x: auto; /* ativa scroll horizontal se necessário */
  -webkit-overflow-scrolling: touch; /* suaviza scroll no iOS */
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto; /* permite colunas com largura natural */
}

.table-container th, 
.table-container td {
  white-space: normal; /* permite quebra de linha */
  word-break: break-word; /* quebra palavras longas para não estourar */
  padding: 8px;
  border: 1px solid #ccc;
}

.produto {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.produto-info {
  flex: 1;
}

.produto-img {
  width: 200px;
  text-align: right;
}

.produto-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #ccc;
}
