@charset "UTF-8";
.titulo-categoria {
  display: flex;
  justify-content: center;
  margin-top: 70px;
  background-color: #5600CF;
  width: 100%;
  padding: 20px;
  color: #17c717; }

/* ===== CONTAINER GERAL ===== */
.produtos-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
  padding: 15px;
  margin-bottom: 100px; }

/* ===== CARD ===== */
.produto-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease; }

.produto-card:hover {
  transform: translateY(-3px); }

/* ===== HEADER (IMAGEM) ===== */
.produto-card-header {
  position: relative;
  padding: 10px; }

.produto-card-header img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9); }

/* BADGE DE STATUS */
.status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600; }

.status-badge i {
  font-size: 12px; }

.status-badge.ativo {
  background: #d4f6d4;
  color: #177a17; }

.status-badge.inativo {
  background: #ffd7d7;
  color: #a30000; }

/* ===== CONTEÚDO ===== */
.produto-card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px; }

.produto-nome {
  font-size: 18px;
  font-weight: 600;
  color: #333; }

.produto-descricao,
.produto-preco,
.produto-categoria,
.produto-datas {
  font-size: 14px;
  color: #555; }

.produto-descricao strong,
.produto-preco strong,
.produto-categoria strong,
.produto-datas strong {
  color: #222; }

/* ===== AÇÕES ===== */
.produto-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #e5e5e5;
  background: #fafafa; }

.btn-acao {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5600CF;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s ease; }

.btn-edit {
  background: #28a745; }

.btn-del {
  background: #e9b8b8;
  color: #9b0000; }

.btn-acao i {
  font-size: 15px; }

/* ===== RESPONSIVO ===== */
@media (max-width: 480px) {
  .produto-card-header img {
    height: 150px; }

  .produto-nome {
    font-size: 16px; }

  .btn-acao {
    font-size: 13px;
    padding: 9px; } }
/* Modal ocupa a tela toda */
.search-modal {
  display: none;
  /* escondido por padrão */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding-top: 100px; }

.search-content {
  margin: auto;
  width: 100%;
  max-width: 500px;
  min-height: 800px;
  background: #fff;
  border-radius: 10px;
  position: relative;
  margin-top: -125px; }

.close-search {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 36px;
  cursor: pointer;
  color: red;
  font-weight: 900; }

.search-produtos {
  position: relative;
  margin: 25px;
  border: none;
  outline: none; }

.search-produtos input {
  border-radius: 8px;
  height: 40px;
  width: 100%;
  margin-top: 70px; }

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  height: 500px;
  overflow-y: auto;
  margin: 3px;
  z-index: 9999;
  border-radius: 4px;
  padding: 10px 10px 100px 10px; }

.autocomplete-item {
  padding: 10px 12px;
  display: block;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  margin: 2px;
  background-color: #b3afaf;
  border-radius: 8px; }

.autocomplete-item:hover {
  background-color: #aa9fde; }

.search-item {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); }

/* Topo do card: nome + imagem */
.search-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center; }

/* Nome e preço */
.search-item .info h4 {
  margin: 0;
  font-size: 16px; }

.search-item .preco {
  font-weight: bold;
  font-size: 15px;
  color: #2c8e2c; }

/* Imagem à direita */
.search-item img.thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-left: 10px; }

/* Botão grande de adicionar */
.btn-add-full, .btn-detail-full {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 50%;
  padding: 14px;
  background: #EA1D2B;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  margin: 0 auto; }

/*# sourceMappingURL=produtosAdmin.css.map */
