/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

/* ===== CORES DA MARCA ===== */
:root {
  --bg: #fdf6f0;
  --card: #ffffff;
  --primary: #c2a46d;
  --primary-dark: #a88b57;
  --text: #2f2f2f;
  --muted: #8b8b8b;
  --border: #e8dfd2;
}

/* ===== BODY ===== */
body {
  background: linear-gradient(135deg, #fdf6f0, #f8efe5);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: var(--text);
}

/* ===== CARD CENTRAL ===== */
.admin-card {
  width: 100%;
  max-width: 480px;
  background: var(--card);
  padding: 45px 35px;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.6s ease;
}

/* ===== LOGO ===== */
.logo {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--primary-dark);
}

.subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 35px;
}

/* ===== TITULOS ===== */
h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 18px;
  text-align: center;
}

/* ===== DIVISOR ===== */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 35px 0;
}

/* ===== INPUTS ===== */
input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  transition: 0.3s;
}

input::placeholder {
  color: var(--muted);
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(194, 164, 109, 0.15);
}

/* ===== FILE INPUT ===== */
input[type="file"] {
  padding: 10px;
  background: #fffaf3;
}

/* ===== BOTÕES ===== */
button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ===== STATUS ===== */
#status {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--primary-dark);
}

/* ===== LISTA PRODUTOS ===== */
#listaProdutos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

/* ===== CARD PRODUTO ===== */
.produto {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.produto img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.produto h4 {
  font-size: 14px;
  font-weight: 500;
}

.produto p {
  font-size: 13px;
  color: var(--muted);
}

/* ===== ANIMAÇÃO ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  .admin-card {
    padding: 35px 25px;
  }

  .logo {
    font-size: 24px;
  }
}

/* ===== CAMPO DE PESQUISA ===== */
.search-input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 30px;
  border: 1px solid var(--border);
  font-size: 14px;
  transition: 0.3s;
  background: #fff;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(194, 164, 109, 0.15);
}
