.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.admin-stats .card {
  border-left: 6px solid var(--dorado);
}

.admin-stats span {
  color: #666;
  font-size: 14px;
}

.admin-stats h2 {
  color: var(--vino);
  font-size: 30px;
  margin: 8px 0 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}

.admin-panel {
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.admin-panel h2,
.table-wrap h2 {
  color: var(--vino);
}

.table-wrap {
  background: white;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  overflow-x: auto;
}

.table-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.search-form input {
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  min-width: 240px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th {
  background: var(--vino);
  color: white;
  padding: 13px;
  text-align: left;
}

td {
  padding: 13px;
  border-bottom: 1px solid #eee;
}

.admin-img {
  width: 70px;
  height: 60px;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 8px;
}

.actions {
  display: flex;
  gap: 8px;
}

.actions a,
.actions button {
  border: none;
  border-radius: 8px;
  padding: 8px 11px;
  font-weight: bold;
  cursor: pointer;
}

.edit {
  background: var(--dorado);
  color: var(--vino2);
}

.delete {
  background: var(--rojo);
  color: white;
}