.produtos {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  background-color: #fff;
  min-height: 100vh;
}

.catalogo-titulo {
  text-align: center;
  color: #000000;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
  margin-top: 1rem;
}

.catalogo-titulo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #FFD700;
}

#categorias-container {
  margin-top: 1rem;
  width: 100%;
  position: relative;
  z-index: 2;
  background-color: #fff;
  padding: 1rem;
}

.categorias {
  margin-bottom: 3rem;
}

.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.categoria-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.categoria-card:hover {
  transform: translateY(-5px);
}

.categoria-titulo {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.produtos-lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.produto-item {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0.75rem;
}

.produto-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.produto-info {
  flex: 1;
  text-align: left;
}

.produto-info h4 {
  margin: 0;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.produto-categoria {
  font-size: 0.85rem;
  color: #666;
  display: block;
}

.remover-produto {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

.remover-produto i {
  color: #000000;
  font-size: 1.1rem;
}

.remover-produto:hover {
  transform: scale(1.1);
}

.favorito-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.favorito-btn:hover {
  transform: scale(1.1);
}

.favorito-btn i {
  color: #A0A0A0;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.favorito-btn:hover i,
.favorito-btn.ativo i {
  color: #FF0000;
}

.whatsapp-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn i {
  color: #25D366;
  font-size: 1.2rem;
}

.interesse {
  background: #f8f8f8;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.interesse h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: #333;
}

.interesse-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#contador {
  color: #666;
  font-size: 0.9rem;
}

.limpar-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.limpar-btn:hover {
  color: #FF0000;
}

.limpar-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#lista-interesse {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

#lista-interesse.empty {
  display: none;
}

.interesse-item {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.interesse-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.interesse-buttons button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  width: auto;
  min-width: min-content;
  max-width: fit-content;
}

.interesse-buttons button i {
  color: #FFFFFF;
  font-size: 1.1rem;
}

.interesse-buttons button:hover {
  opacity: 0.9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.interesse-buttons button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.notificacao {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  background: #fff;
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #25D366;
  pointer-events: none;
  max-width: 90%;
}

.notificacao.visible {
  transform: translateY(0);
  opacity: 1;
}

.notificacao i {
  font-size: 1.2rem;
}

.notificacao.adicionado {
  border-left-color: #25D366;
}

.notificacao.adicionado i {
  color: #25D366;
}

.notificacao.removido {
  border-left-color: #FF0000;
}

.notificacao.removido i {
  color: #FF0000;
}

.notificacao-texto {
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .catalogo-titulo {
    font-size: 2rem;
  }

  .categorias-grid {
    grid-template-columns: 1fr;
  }

  .produtos-lista {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  #lista-interesse {
    grid-template-columns: 1fr;
  }

  .interesse {
    padding: 1.5rem 1rem;
  }

  .interesse-buttons button {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .interesse-buttons button i {
    font-size: 1rem;
  }

  .notificacao {
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 350px;
    margin: 0;
  }
  
  .notificacao.visible {
    transform: translateX(-50%) translateY(0);
  }

  .produto-item {
    padding: 1rem;
  }

  .produto-info h4 {
    font-size: 0.95rem;
  }

  .produto-categoria {
    font-size: 0.8rem;
  }

  .remover-produto {
    padding: 0.4rem;
  }

  .remover-produto i {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .catalogo-titulo {
    font-size: 1.8rem;
  }

  .produtos-lista {
    grid-template-columns: 1fr;
  }

  .interesse-buttons {
    flex-direction: column;
  }

  #whatsappBtn {
    width: 100%;
    justify-content: center;
  }
}

.categoria-section {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.categoria-header {
  background-color: #f8f8f8;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.categoria-header:hover {
  background-color: #f0f0f0;
}

.categoria-header.active {
  background-color: #e8e8e8;
}

.categoria-titulo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.categoria-icon {
  color: #666;
}

.categoria-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fff;
}

.produtos-lista {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.product-item {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.product-item:hover {
  transform: translateY(-2px);
}

.product-info h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn {
  background: none !important;
  border: none !important;
  padding: 0.5rem !important;
  margin: 0 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
}

.action-btn:hover {
  transform: scale(1.1);
}

.action-btn:active {
  transform: scale(0.95);
}

.action-btn i {
  font-size: 1.2rem;
  pointer-events: none;
}

.action-btn.whatsapp i {
  color: #25D366;
}

.action-btn.interesse {
  background: none !important;
  border: none !important;
  padding: 0.5rem !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.action-btn.interesse i {
  color: #A0A0A0;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.action-btn.interesse:hover i,
.action-btn.interesse.selected i {
  color: #FF0000;
}

/* Tooltip */
.action-btn[data-tooltip] {
  position: relative;
}

.action-btn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 0.8rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}

.action-btn[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 5px);
}

@media (max-width: 768px) {
  .action-btn {
    min-width: 48px;
    min-height: 48px;
  }

  .action-btn i {
    font-size: 1.3rem;
  }

  .action-btn[data-tooltip]::before {
    display: none;
  }
}

.interesse {
  background: #f8f8f8;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.interesse h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: #333;
}

#lista-interesse {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

#lista-interesse.empty {
  display: none;
}

.produto-item {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.produto-info h4 {
  margin: 0;
  color: #333;
}

.produto-categoria {
  font-size: 0.9rem;
  color: #666;
}

.remover-produto {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.remover-produto:hover {
  color: #FF0000;
}

@media (max-width: 768px) {
  .catalogo-titulo {
    font-size: 2rem;
  }

  .produtos-lista {
    grid-template-columns: 1fr;
  }

  #lista-interesse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .catalogo-titulo {
    font-size: 1.8rem;
  }

  .categoria-titulo {
    font-size: 1.1rem;
  }

  .product-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .product-actions {
    width: 100%;
    justify-content: flex-end;
  }
} 